1 2012-11-15 Stephen Berman <stephen.berman@gmx.net>
3 * calendar/todos.el (todos-forward-category): Fix typo.
5 2012-10-30 Stephen Berman <stephen.berman@gmx.net>
7 * calendar/todos.el (todos-define-insertion-command):
8 Let generated insertion commands accept a prefix argument.
10 2012-10-08 Stephen Berman <Stephen.Berman@rub.de>
12 * calendar/todos.el (todos-move-item): If user quits before
13 completing movement, restore display of initial category; If item
14 is moved to end of target category, make sure the items above it
15 are displayed in the window.
17 2012-10-08 Stephen Berman <stephen.berman@gmx.net>
19 * calendar/todos.el: Fixes to todos-move-item and some of its
21 (todos-move-item): When there are marked items, point need not be
22 on an item; remove obsolete use of todos-add-category, since this
23 is now already done in todos-read-category; fix typo.
24 (todos-diary-item-p): Exclude empty lines.
25 (todos-read-category): Restore point and narrowing after adding
26 new category, to avoid moving to beginning of file when moving
27 marked items to a new category.
28 (todos-set-item-priority): Prompt for priority only when the
29 category has at least one todo item; only use non-nil priority to
30 calculate insertion location.
31 (todos-read-category): Don't reset todos-categories when a new
32 category is added due to todos-move-item or todos-jump-to-item.
34 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
36 * calendar/todos.el (todos-copy-item): New command.
37 (todos-insertion-map): Add key binding for it.
39 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
41 * calendar/todos.el (todos-undo-item-omit-comment): New defcustom.
42 (todos-item-undo): Use it.
43 (todos-allcats-file, todos-all-categories-alist): New variables.
44 (todos-all-categories-alist): New function.
45 (todos-jump-to-any-category): New command.
46 (todos-move-item): Remove mark overlays from buffer items were
47 moved from; update todos-categories-with-marks,
49 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
51 * calendar/todos.el: Further code rearrangement; further new and
53 (todos-reevaluate-filelist-defcustoms): Rename from
54 todos-reevaluate-defcustoms and adjust callers.
55 (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
56 (todos-date-string-start, todos-done-string-start)
57 (todos-item-start): Change from defvar to defconst.
58 (todos-set-top-priorities): Use read-number and simplify.
59 (todos-insert-item): Check whether date-type argument is a string.
60 (todos-set-date-from-calendar): Check whether
61 todos-date-from-calendar is a string; simplify cond clause.
62 (todos-archive-done-item, todos-unarchive-items):
63 Use buffer-substring-no-properties.
65 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
67 * calendar/todos.el (todos-item-undo): Fix restoration on
68 cancelling; use buffer-substring-no-properties; comment out code
69 removing mark overlay; fix insertion of undone items; display any
72 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
74 * calendar/todos.el: Further significant code rearrangement;
75 further comment revision.
76 (todos-mode-display): New defgroup.
77 (todos-prefix, todos-number-priorities)
78 (todos-done-separator-string, todos-done-string)
79 (todos-comment-string, todos-show-with-done)
80 (todos-mode-line-function, todos-skip-archived-categories)
81 (todos-highlight-item, todos-wrap-lines)
82 (todos-line-wrapping-function): Use it.
83 (todos-item-insertion): New defgroup.
84 (todos-include-in-diary, todos-diary-nonmarking)
85 (todos-nondiary-marker, todos-always-add-time-string)
86 (todos-use-only-highlighted-region): Use it.
87 (todos-forward-button, todos-backward-button): New commands.
88 (todos-categories-mode-map): Use them, replacing forward-button
90 (todos-merge-category): Fix and improve implementation; handle
92 (todos-insert-item, todos-set-date-from-calendar): Handle setting
93 date by calling todos-insert-item-from-calendar.
94 (todos-delete-item): Fix overlay handling.
95 (todos-move-item): Highlight item to be moved.
96 (todos-item-undo): Handle marked items.
97 (todos-insert-item-from-calendar): Rewrite using
98 todos-date-from-calendar.
100 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
102 * calendar/todos.el: Further comment revision.
103 (todos-sorted-column): Change default value, also taking tty into
105 (todos-reset-done-separator): Fix faulty variable binding.
106 (todos-reset-and-enable-done-separator): Save match data; comment
107 out code that causes problems for Edebug.
108 (todos-item-start): Handle empty line between todo and done items
109 when done items are hidden.
110 (todos-read-date): Use a leap year for `*' to allow
111 calendar-last-day-of-month to return Feb. 29.
112 (todos-archive-mode, todos-edit-mode, todos-categories-mode)
113 (todos-filtered-items-mode): Delete faulty parentheses.
114 (todos-quit): Save Todos and archive files unconditionally.
115 (todos-forward-item): Accept only positive prefix argument.
116 (todos-backward-item): Accept only positive prefix argument; don't
117 move point to beginning of buffer if it is on the first item.
118 (todos-hide-show-date-time): Remove obsolete interactive spec.
119 (todos-move-category): Improve prompt string; ensure file moved to
120 is different from file moved from.
121 (todos-merge-categories): Remove.
122 (todos-set-category-priority): New command.
123 (todos-raise-category-priority, todos-lower-category-priority):
124 Use it to define these commands.
125 (todos-set-item-priority): Rewrite and generalize.
126 (todos-raise-item-priority, todos-lower-item-priority): Use it to
127 define these commands.
129 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
131 * calendar/todos.el (todos-reset-done-separator)
132 (todos-reset-and-enable-done-separator): New functions.
133 (todos-reset-done-separator-string): Rewrite using
134 todos-reset-done-separator for string longer than 1 character.
135 (todos-mode): Add todos-reset-and-enable-done-separator to
136 window-configuration-change-hook, replacing previous anonymous
138 (todos-unload-hook): And remove it.
140 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
142 * calendar/todos.el (todos-done-separator-string): New defcustom.
143 (todos-done-separator): New variable replacing defcustom of the
145 (todos-reset-done-separator-string, todos-done-separator):
147 (todos-mode): Make function added to
148 window-configuration-change-hook do a better job of updating the
149 done items separator string overlay.
150 (todos-unload-hook): Remove it here.
151 (todos-item-undo): Fix search for item's end.
153 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
155 * calendar/todos.el: Further comment revision.
156 (todos-sorted-column): Change default value.
157 (todos-item-start): Handle empty category (needed in
159 (todos-read-date): Don't use calendar-read; make code cleaner.
160 (todos-multiple-filter-files): Rename this variable from
161 todos-multiple-files and adjust users.
162 (todos-multiple-filter-files-widget): Rename from
163 todos-multiple-files-widget and adjust users.
164 (todos-multiple-filter-files): Rename this function from
165 todos-multiple-files and adjust callers.
166 (todos-filter-items): Remove unused code.
167 (todos-insert-category-line): Add space so highlighting of last
168 column is consistent with the others; adjust display of column
170 (todos-menu): Remove obsolete entry.
171 (todos-categories-mode-map): Add new bindings.
172 (todos-display-categories-alphabetically-or-by-priority): New command.
173 (todos-display-categories-sorted-by-todo)
174 (todos-display-categories-sorted-by-diary)
175 (todos-display-categories-sorted-by-done)
176 (todos-display-categories-sorted-by-archived): Restore and fix
179 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
181 * calendar/todos.el: Significant code rearrangement; further
183 (todos-filtered-items-buffer): Rename from todos-filter-buffer and
185 (todos-filtered-buffer-name): Rename from
186 todos-special-buffer-name and adjust users.
187 (todos-filtered-items-mode-map): Rename from
188 todos-filter-items-mode-map and adjust users.
189 (todos-mode-external-set): Use todos-categories instead of
190 todos-set-categories (and add comment to check if this DTRT).
191 (todos-filtered-items-mode): Rename from todos-filter-items-mode
193 (todos-add-category): Don't call todos-validate-name, since
194 todos-read-category does.
195 (todos-edit-quit): Use todos-repair-categories-sexp.
196 (todos-done-item-add-edit-or-delete-comment): Rename from
197 todos-done-item-add-or-edit-comment and adjust users; add optional
198 argument to prompt to delete comment.
199 (todos-item-undo): Delete done item comment on undoing if user
202 2012-09-22 Stephen Berman <stephen.berman@gmx.net>
204 * calendar/todos.el: Further code rearrangement and comment
206 (todos-item-start): Handle empty line between todo and done items
207 when done items are displayed.
208 (todos-key-bindings): Comment out bindings meant only for
210 (todos-archive-mode-map): Fix typo.
211 (todos-archive-mode): Derive from special-mode instead of
212 todos-mode to prevent its key bindings from being available here.
213 (todos-archive-done-item): Remove obsolete code; fix item count
215 (todos-unarchive-items): Simplify; fix unarchiving of all items in
216 category; fix item count updating; fix typo.
218 2012-09-22 Stephen Berman <stephen.berman@gmx.net>
220 * calendar/todos.el: Further code rearrangement and comment
222 (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
223 (todos-file-buffers): New variable.
224 (todos-reset-global-current-todos-file): Use it to simplify
225 implementation of this function.
226 (todos-filtered): New defgroup.
227 (todos-filter-buffer, todos-top-priorities-buffer)
228 (todos-diary-items-buffer, todos-regexp-items-buffer)
229 (todos-priorities-rules, todos-show-priorities)
230 (todos-filter-files, todos-filter-done-items): Use it.
231 (todos-skip-archived-categories): Rename from
232 todos-ignore-archived-categories and adjust users.
233 (todos-display-as-todos-file): Rename from todos-after-find-file
235 (todos-reset-highlight-item, todos-mode-external-set)
236 (todos-jump-to-category, todos-jump-to-item)
237 (todos-raise-category-priority, todos-insert-item)
238 (todos-move-item): Use find-file-visiting.
239 (todos-make-categories-list): Use file-truename.
240 (todos-display-categories-1): Adjust title text for archive files;
241 use done label for item counts in archive files.
242 (todos-modes-set-3): Add todos-display-as-todos-file to
244 (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
245 todos-update-buffer-list post-command-hook.
246 (todos-unload-hook): And remove them.
247 (todos-show): Only when interactively invoked from an archive,
248 switch to corresponding Todos file.
249 (todos-archive-done-item): Remove obsolete code; fix handling of
250 marked items; fix search for existing category; check whether
251 archive exists and write to file if not; improve display handling.
253 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
255 * calendar/todos.el: Further comment revision.
256 (todos-item-end): Replace use of command todos-forward-item by
257 regexp searches using internal variables.
258 (todos-raise-category-priority): Improve and comment.
259 (todos-insert-item): Fix insertion of empty time string.
261 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
263 * calendar/todos.el (todos-ignore-archived-categories):
264 Revert last change; remove :initialize and :set functions; change
265 use and change users accordingly.
266 (todos-reset-categories, todos-categories-full)
267 (todos-truncate-categories-list): Remove.
268 (todos-set-categories, todos-update-categories-sexp):
269 Use todos-categories instead of todos-categories-full; remove use
270 of todos-ignore-archived-categories and
271 todos-truncate-categories-list.
272 (todos-check-format, todos-repair-categories-sexp):
273 Use todos-categories instead of todos-categories-full.
274 (todos-read-category): Improve last change.
275 (todos-validate-name): Use completing-read.
276 (todos-categories-category-number): Rename from
277 todos-category-number and adjust users.
278 (todos-update-categories-display, todos-mode-external-set)
279 (todos-delete-category, todos-move-category, todos-merge-category)
280 (todos-unarchive-items): Remove use of todos-categories-full and
281 todos-ignore-archived-categories.
282 (todos-modes-set-3, todos-add-category): Remove use of
283 todos-categories-full.
284 (todos-edit-mode): Fix typo.
285 (todos-forward-category): Use todos-ignore-archived-categories.
287 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
289 * calendar/todos.el: Doubts about todos-ignore-archived-categories.
290 (todos-ignore-archived-categories): Change default value.
292 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
294 * calendar/todos.el: Further comment revision.
295 (todos-reset-global-current-todos-file):
296 Try to make this not slow down kill-buffer.
297 (todos-update-categories-sexp): Handle the case where there is no
298 categories sexp yet, i.e. after inserting the first item in the
299 file, so todos-display-categories works.
300 (todos-read-file-name): Improve implementation.
301 (todos-validate-name): Use variable todos-files.
302 (todos-category-number): New variable.
303 (todos-insert-category-line, todos-update-categories-display)
304 (todos-raise-category-priority): Use it.
305 (todos-add-file): Remove unused remnant code.
307 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
309 * calendar/todos.el: Further comment revision.
310 (todos-set-item-top-priority): New command.
311 (todos-reset-global-current-todos-file):
312 Use todos-files-function instead of todos-files.
313 (todos-read-category): Add optional argument to test whether
314 caller adds new category; if so, don't prompt for new category and
315 don't restore original todos-categories list.
316 (todos-categories-mode-map): Update to renamed commands.
317 (todos-filter-items-mode-map): Add binding for new command.
318 (todos-mode): Fix typo.
319 (todos-show): If called from archive file, show corresponding
320 category in Todos file, if it exists.
321 (todos-jump-to-category): Remove code to add new category, since
322 todos-read-category can do that.
323 (todos-add-file): Remove obsolete code; visit new file in selected
325 (todos-add-category): Simplify.
326 (todos-rename-category): Use force-mode-line-update instead of
327 setting mode-line-buffer-identification.
328 (todos-delete-category): Improve logic of prompts; use
329 todos-categories-full and check todos-ignore-archived-categories.
330 (todos-raise-category-priority, todos-lower-category-priority):
331 Rename from todos-{raise,lower}-category and adjust callers.
332 (todos-move-category, todos-merge-category):
333 Set todos-categories-full; on setting todos-categories check
334 todos-ignore-archived-categories.
335 (todos-insert-item): Let-bind use-empty-active-region and use
336 use-region-p instead of transient-mark-mode.
337 (todos-raise-item-priority): Improve implementation.
338 (todos-archive-done-item): Rename from
339 todos-archive-done-item-or-items and adjust callers; confine to
341 (todos-unarchive-items): On setting todos-categories check
342 todos-ignore-archived-categories.
344 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
346 * calendar/todos.el (todos-key-bindings): Remove binding of
348 (todos-menu): Remove entry of deleted command.
349 (todos-show-archive): Fix last change.
350 (todos-done-item-add-or-edit-comment): Rename from
351 todos-comment-done-item and adjust callers; prompt to edit an
354 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
356 * calendar/todos.el (todos-set-show-current-file): Rename from
357 todos-toggle-show-current-file and adjust callers.
358 (todos-number-priorities): Rename from todos-number-prefix and
360 (todos-update-count): Rename from todos-set-count and adjust
362 (todos-hide-show-item-numbering): Rename from
363 todos-toggle-item-numbering and adjust callers.
364 (todos-hide-show-done-items): Rename from
365 todos-toggle-view-done-items and adjust callers.
366 (todos-show-done-only): Rename from todos-toggle-show-done-only.
367 (todos-view-archived-items): Comment out.
368 (todos-show-archive): Prompt to choose another archive file if
369 current Todos file lacks an archive; prompt to visit archive
370 anyway when current category has no archived items.
372 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
374 * calendar/todos.el: Further comment revision and code
376 (todos-item-end): Revert last change.
377 (todos-key-bindings, todos-menu, todos-archive-mode-map)
378 (todos-filter-items-mode-map): Use renamed commands.
379 (todos-hide-show-date-time): Rename from
380 todos-toggle-display-date-time.
381 (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
383 (todos-backward-item): Exempt special handling only from
384 todos-regexp-items-buffer instead of todos-filter-items-mode.
385 (todos-raise-item-priority): Don't allow item reprioritizing in
386 Todos filter items mode except for top priority items.
388 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
390 * calendar/todos.el: Add and revise further doc strings and
392 (todos-filter-function, todos-custom-items)
393 (todos-custom-items-multifile): Remove.
394 (todos-filter-done-items): New defcustom.
395 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
396 (todos-filter-items): Check return value of caller first; tag
397 archived items for todos-jump-to-item; delete categories sexp
398 before processing filter; check todos-filter-done-items for
399 whether to leave done items; remove custom filter; fix regexp for
400 file and category tags; don't invoke buffer fontification.
401 (powerset-recursive): Fix typo.
402 (todos-key-bindings): Remove unused bindings.
403 (todos-top-priorities-multifile, todos-diary-items-multifile)
404 (todos-regexp-items-multifile): Use variable todos-multiple-files.
405 (todos-jump-to-item): Fix regexp; handle archive tags; take
406 todos-filter-done-items into account.
407 (todos-insert-item-from-calendar): Relocate to end of file
408 together with key-binding as addition to calendar.el.
410 2012-09-20 Stephen Berman <stephen.berman@gmx.net>
412 * calendar/todos.el: Add and revise further doc strings and
413 comments; major code rearrangement.
414 (todos-merged-files, todos-prompt-merged-files)
415 (todos-print-priorities, todos-tmp-buffer-name)
416 (todos-top-priorities-widgets, todos-update-merged-files)
417 (todos-merged-top-priorities, todos-merged-diary-items)
418 (todos-merged-regexp-items, todos-merged-custom-items)
419 (todos-raw-mode, todos-change-default-file)
420 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
421 (todos-toggle-diary-nonmarking, todos-validate-category-name):
423 (todos-category-string-matcher): Comment out.
424 (todos-categories): New defgroup.
425 (todos-initial-file, todos-filter-buffer)
426 (todos-top-priorities-buffer, todos-categories-category-label)
427 (todos-diary-items-buffer, todos-regexp-items-buffer)
428 (todos-custom-items-buffer, todos-filter-files)
429 (todos-highlight-item, todos-todo-mode-date-time-regexp):
431 (todos-diary-expired): New face.
432 (todos-print-buffer, todos-multiple-files)
433 (todos-multiple-files-widget, todos-key-bindings): New variables.
434 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
435 (todos-special-buffer-name)
436 (todos-reevaluate-filter-files-defcustom)
437 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
438 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
439 (todos-diary-expired-matcher, todos-category-string-matcher-1)
440 (todos-category-string-matcher-2, todos-repair-categories-sexp)
441 (todos-validate-name, todos-multiple-files)
442 (todos-display-categories-1, todos-update-categories-display)
443 (todos-modes-set-3, todos-mode-external-set): New functions.
444 (todos-set-top-priorities-in-file)
445 (todos-set-top-priorities-in-category)
446 (todos-top-priorities-multifile, todos-diary-items-multifile)
447 (todos-regexp-items-multifile, todos-custom-items-multifile)
448 (todos-convert-legacy-files, todos-jump-to-item)
449 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
450 (todos-edit-item-diary-inclusion)
451 (todos-edit-category-diary-inclusion)
452 (todos-edit-item-diary-nonmarking)
453 (todos-edit-category-diary-nonmarking): New commands.
454 (todos, todos-faces): Update :version.
455 (todos-done-separator, todos-completion-ignore-case):
456 Change default value.
457 (todos-done-separator): Change :set function.
458 (todos-indent-to-here): Add :validate function to :type.
459 (todos-prefix-string, todos-mark, todos-button)
460 (todos-sorted-column, todos-archived-only, todos-search)
461 (todos-done, todos-done-sep): Provide full face definitions
462 instead of inheriting.
463 (todos-edit-buffer, todos-categories-buffer): Change from
465 (todos-category-beg, todos-category-done): Change from defvar to
467 (todos-files): Check if todos-files-directory exists.
468 (todos-default-todos-file, todos-mode-line-control, todos-print):
469 Use todos-short-file-name.
470 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
471 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
472 todos-category-string-matcher-2, todos-diary-expired-matcher.
473 (todos-category-select): Use todos-done-string-start, and
474 condition search on todos-show-with-done; don't make display
475 overlay for done items separator string if there already is one;
476 use todos-highlight-item, require hl-line and activate
477 hl-line-mode here in order to avoid a hang if done in todos-mode
479 (todos-update-categories-sexp): Use todos-categories-full if set,
480 otherwise todos-categories.
481 (todos-make-categories-list): Don't test for archive file when
482 processing a legacy todo-mode file.
483 (todos-check-format): Add check for todos-categories sexp.
484 (todos-diary-item-p): Use todos-nondiary-start instead of
486 (todos-marked-item-p): Rename from todos-item-marked-p.
487 (todos-read-file-name): Don't accept empty name; validate.
488 (todos-read-category): Validate new name before prompting whether
489 to add new category; force quit if user answers no.
490 (todos-filter-items): Improve implementation.
491 (todos-set-top-priorities): Rewrite as a noninteractive function
492 using minibuffer input instead of widgets.
493 (todos-insert-sort-button): Call todos-display-sorted with
494 argument nil to display categories in numerical order, instead of
495 calling todos-display-categories.
496 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
497 Common Lisp powerset function at
498 http://rosettacode.org/wiki/Power_set#Common_Lisp.
499 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
500 powerset function at http://rosettacode.org/wiki/Power_set#C.
501 (todos-powerset): Defalias to powerset-bitwise.
502 (todos-mode-map): Generate from todos-key-bindings instead of
503 listing each key definition.
504 (todos-categories-mode-map): Add two bindings.
505 (todos-filter-items-mode-map): Add some bindings, remove others.
506 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
507 function setting todos-done-separator to
508 window-configuration-change-hook.
509 (todos-unload-hook): Remove function setting todos-done-separator
510 from window-configuration-change-hook.
511 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
512 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
513 (todos-categories-mode): Derive from special-mode; use
514 todos-mode-external-set.
515 (todos-filter-items-mode): Derive from special-mode.
516 (todos-quit): Save archive file if it hasn't yet been saved.
517 (todos-display-categories): Delegate all functionality to
518 todos-display-categories-1 and todos-update-categories-display.
519 (todos-toggle-view-done-items): Improve implementation.
520 (todos-highlight-item): Require hl-line.
521 (todos-toggle-display-date-time): Remove argument and make it
522 apply only to whole file.
523 (todos-top-priorities, todos-diary-items, todos-regexp-items)
524 (todos-custom-items): Use todos-special-buffer-name.
525 (todos-add-file): Use todos-short-file-name and
526 todos-reevaluate-defcustoms; remove validation, since it's now
527 done in todos-read-file-name.
528 (todos-add-category): Also update todos-categories-full if non-nil.
529 (todos-delete-category): Delete file after confirmation if only
531 (todos-move-category): Use todos-short-file-name and
532 todos-reevaluate-defcustoms.
533 (todos-insert-item): Fix getting date from the calendar and
534 insertion of time string.
535 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
536 display of diary entries.
537 (todos-edit-multiline): Add optional argument to restrict editing
538 buffer to current item, otherwise make entire buffer (i.e. whole
540 (todos-edit-quit): When whole file is editable, check file format
541 validity before killing buffer, and if valid, recalculate
542 categories sexp to be safe.
543 (todos-edit-item-header): Allow choosing date from calendar.
544 (todos-item-done): Handle marked items.
546 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
548 * calendar/todos.el (todos-item-start): Restore commented out code
549 to prevent wrongly moving point in widened buffer.
551 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
553 * calendar/todos.el: Remove old commentary from todo-mode.el; add
554 and revise further doc strings and comments; require cl.el at
555 compile time for remove-duplicates; use function powerset from
556 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
557 code rearrangement. Add adapted version of diary-goto-entry as comment.
558 (todos-file-top, todos-archived-categories-buffer)
559 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
560 (todos-save-top-priorities, todos-reset-separator)
561 (todos-switch-todos-file, todos-item-string-start, todos-counts)
562 (todos-string-count-lines, todos-string-multiline-p)
563 (todos-display-categories-alphabetically): Remove.
564 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
565 (todos-insert-item-ask-date-time-for-diary)
566 (todos-insert-item-ask-date-time-for-diary-here)
567 (todos-insert-item-ask-date-time-here)
568 (todos-insert-item-ask-date-maybe-notime)
569 (todos-insert-item-ask-date-maybe-notime-for-diary)
570 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
571 (todos-insert-item-ask-date-maybe-notime-here)
572 (todos-insert-item-ask-date-for-diary)
573 (todos-insert-item-ask-date-for-diary-here)
574 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
575 (todos-insert-item-ask-dayname-time)
576 (todos-insert-item-ask-dayname-time-for-diary)
577 (todos-insert-item-ask-dayname-time-for-diary-here)
578 (todos-insert-item-ask-dayname-time-here)
579 (todos-insert-item-ask-dayname-maybe-notime)
580 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
581 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
582 (todos-insert-item-ask-dayname-maybe-notime-here)
583 (todos-insert-item-ask-dayname-for-diary)
584 (todos-insert-item-ask-dayname-for-diary-here)
585 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
586 (todos-insert-item-ask-time-for-diary)
587 (todos-insert-item-ask-time-for-diary-here)
588 (todos-insert-item-ask-time-here)
589 (todos-insert-item-maybe-notime)
590 (todos-insert-item-maybe-notime-for-diary)
591 (todos-insert-item-maybe-notime-for-diary-here)
592 (todos-insert-item-maybe-notime-here)
593 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
594 (todos-insert-item-here): Remove; all of these are now generated
595 on loading (some with the same name, most with other names.)
596 (todos-item-counts, todos-display-categories-alphabetically)
597 (todos-display-categories-sorted-by-todo)
598 (todos-display-categories-sorted-by-diary)
599 (todos-display-categories-sorted-by-done)
600 (todos-display-categories-sorted-by-archived): Comment out.
601 (todos-comment-string, todos-mode-line-function)
602 (todos-filter-function, todos-priorities-rules)
603 (todos-visit-files-commands, todos-categories-totals-label)
604 (todos-use-only-highlighted-region, todos-diary-nonmarking):
606 (todos-mark, todos-comment): New faces.
607 (todos-comment-face): Corresponding new variable.
608 (todos-categories-full, todos-global-current-todos-file)
609 (todos-first-visit, todos-insertion-commands-args-genlist)
610 (todos-insertion-commands-args, todos-insertion-commands-names)
611 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
612 (todos-top-priorities-widgets, todos-date-from-calendar)
613 (todos-item-mark, todos-categories-with-marks): New variables.
614 (todos-mode-line-control, todos-reset-global-current-todos-file)
615 (todos-gen-arglists, todos-insertion-command-name)
616 (todos-insertion-key-bindings, todos-unload-hook)
617 (todos-filter-items, todos-set-date-from-calendar)
618 (todos-comment-string-matcher, todos-after-find-file)
619 (todos-reset-nondiary-marker, todos-reset-done-string)
620 (todos-reset-comment-string, todos-show-current-file)
621 (todos-item-marked-p, todos-total-item-counts): New functions.
622 (todos-define-insertion-command): New macro.
623 (todos-toggle-mark-item, todos-mark-category)
624 (todos-unmark-category, todos-set-top-priorities)
625 (todos-merged-diary-items, todos-regexp-items)
626 (todos-merged-regexp-items, todos-custom-items)
627 (todos-merged-custom-items, todos-comment-done-item)
628 (todos-archive-category-done-items, todos-unarchive-items)
629 (todos-print-to-file): New commands.
630 (todos-done-separator): Change :set function.
631 (todos-done-string): Uncomment :initialize and :set functions.
632 (todos-files): Use file-truename.
633 (todos-show-current-file): Rename from
634 todos-auto-switch-todos-file and change :set function accordingly.
635 (todos-font-lock-keywords): Use todos-comment-string-matcher;
636 change names of other matcher functions to new *-matcher.
637 (todos-category-number): Change initial value.
638 (todos-insertion-map): Use todos-insertion-key-bindings to
639 generate key definitions.
640 (todos-mode-map): Don't suppress digit keys, so they can supply
641 prefix arguments; add new and change some existing bindings.
642 (todos-archive-mode-map): Change a key binding.
643 (todos-categories-mode-map): Comment out a key binding.
644 (todos-filter-items-mode-map): Rename from
645 todos-top-priorities-mode-map.
646 (todos-mode): Make todos-current-todos-file,
647 todos-categories-full, todos-categories, todos-first-visit,
648 todos-category-number, todos-show-done-only,
649 todos-categories-with-marks local variables and set them; add
650 todos-show-current-file to pre-command-hook, todos-after-find-file
651 to post-command-hook and todos-reset-global-current-todos-file to
653 (todos-archive-mode): Make todos-current-todos-file,
654 todos-categories and todos-category-number local variables and set
655 them; add todos-after-find-file to post-command-hook.
656 (todos-raw-mode): New derived major mode.
657 (todos-categories-mode): Don't set font-lock-defaults and
658 buffer-read-only; make todos-current-todos-file and
659 todos-categories local variables and set them.
660 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
661 (todos-quit): Don't reset todos-categories on quitting
662 todos-categories-mode; handle quitting todos-filter-items-mode.
663 (todos-show): Simplify; when visiting an archive file switch to
664 corresponding Todos file; use todos-first-visit.
665 (todos-view-archived-items): Simplify; call todos-category-number.
666 (todos-show-archive): Rename from todos-switch-to-archive and
667 adjust callers; simplify.
668 (todos-toggle-display-date-time): Add optional argument to toggle
669 display in entire file.
670 (todos-top-priorities): Use todos-filter-items, which now contains
671 the previous core of this command.
672 (todos-merged-top-priorities, todos-diary-items):
673 Use todos-filter-items.
674 (todos-forward-category): Add optional argument to go to the
676 (todos-backward-category): Use todos-forward-category.
677 (todos-jump-to-category): Refine implementation.
678 (todos-forward-item, todos-backward-item): Fix movement from todo
679 to done item and vice versa.
680 (todos-add-file): Remove argument and simplify.
681 (todos-rename-category): Use todos-current-todos-file and
682 todos-mode-line-function; set todos-categories with
683 todos-set-categories.
684 (todos-delete-category): Ask what to do if category has archived items.
685 (todos-raise-category): Ensure modified todos-categories is added
686 to file's categories sexp.
687 (todos-move-category): Improve implementation, especially handling
688 of archived categories.
689 (todos-merge-category): Tweak; set item counts.
690 (todos-insert-item): Improve handling of various argument values;
691 add new argument values to control marking of diary items and to
692 use region for item body.
693 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
694 (todos-delete-item, todos-edit-item-header): Handle marked items.
695 (todos-edit-item): Incorporate functionality of removed
696 todos-string-multiline-p.
697 (todos-edit-multiline): Use set-window-buffer instead of
699 (todos-edit-quit): Don't save on quitting; use todos-show instead
700 of todos-category-select.
701 (todos-raise-item-priority): Add argument to lower priority;
702 improve handling of top priority items in todos-filter-items-mode;
704 (todos-lower-item-priority): Use todos-raise-item-priority.
705 (todos-set-item-priority): Increment maximum number if item is new.
706 (todos-move-item): Handle marked items; delay changing category
707 moved from till after movement to avoid restoring if user cancels
709 (todos-item-done): Add optional argument to insert comment; fix
710 item counts and update sexp.
711 (todos-item-undo): Fix item counts and update.
712 (todos-archive-done-item-or-items): Rename from
713 todos-archive-done-items; add optional argument to archive all
714 items in category; handle marked items.
715 (todos-unarchive-category): Use todos-unarchive-items.
716 (todos-toggle-diary-inclusion): Incorporate functionality of
717 removed todos-toggle-item-diary-inclusion; handle marked items.
718 (todos-print): Add optional argument to print to file.
719 (todos-done-string-start): Don't use todos-nondiary-start.
720 (todos-date-string-matcher, todos-time-string-matcher)
721 (todos-done-string-matcher, todos-category-string-matcher): Rename
722 from *-match and adjust callers.
723 (todos-wrap-and-indent): Use set instead of setq for local variables.
724 (todos-prefix-overlays): Improve overlay handling.
725 (todos-reset-categories): Fix and complete implementation.
726 (todos-toggle-show-current-file): Rename from
727 todos-toggle-switch-todos-file-noninteractively.
728 (todos-category-select): Use todos-mode-line-function.
729 (todos-item-start): Comment out code used by removed function.
730 (todos-remove-item): Handle presence of both prefix/number and
732 (todos-get-count): Simplify.
733 (todos-set-count): Change argument list and adjust callers; simplify.
734 (todos-set-categories): Handle new archive files; use
735 todos-categories-full and todos-ignore-archived-categories.
736 (todos-truncate-categories-list): Use todos-categories-full.
737 (todos-update-categories-sexp): Use kill-region instead of
738 kill-line; use todos-categories-full.
739 (todos-read-file-name): Add argument to require existing file and
740 adjust callers; use file-truename.
741 (todos-read-category): Remove argument to require existing
742 category and delegate it to completing-read in function body.
743 (todos-validate-category-name): Make empty string prompt only for
744 initial category name.
745 (todos-read-date): Use = instead of eq for testing if month = 13,
746 and if it is, set monthname to *.
747 (todos-display-categories): Use todos-global-current-todos-file;
748 use set-window-buffer instead of switch-to-buffer; add a line
749 showing item count totals.
750 (todos-padded-string): Use the longest of category name or label.
751 (todos-descending-counts): Rename from
752 todos-descending-counts-store and adjust users.
753 (todos-insert-category-line): Adjust format; use mapconcat; kill
754 buffer after jumping to category.
756 2012-09-18 Stephen Berman <stephen.berman@gmx.net>
758 * calendar/todos.el Add and revise various doc strings, remove
759 further commented out code; add further comments; further code
761 (todos-file-do, todos-archive-file, todos-mode-hook)
762 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
763 (todos-view-archive, todos-search-string)
764 (todos-jump-to-category-noninteractively, todos-initial-setup):
766 (todos-files): Remove this defcustom.
767 (todos-initial-category, todos-display-categories-first)
768 (todos-auto-switch-todos-file, todos-default-todos-file)
769 (todos-categories-category-label, todos-categories-todo-label)
770 (todos-categories-diary-label, todos-categories-done-label)
771 (todos-categories-archived-label)
772 (todos-categories-number-separator, todos-categories-align)
773 (todos-ignore-archived-categories, todos-nondiary-marker):
775 (todos-prefix, todos-done-separator, todos-file-top)
776 (todos-categories-buffer, todos-archived-categories-buffer)
777 (todos-edit-buffer, todos-always-add-time-string, todos-button):
778 Change default value.
779 (todos-done-string): Add todos-reset-done-string as :set function,
780 but keep this commented out.
781 (todos-files, todos-archives, todos-insertion-map)
782 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
783 (todos-show-done-only, todos-date-string-start)
784 (todos-done-string-start): New variables.
785 (todos-files-directory, todos-files-function, todos-merged-files)
786 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
787 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
788 (todos-toggle-switch-todos-file-noninteractively)
789 (todos-switch-todos-file, todos-counts, todos-get-count)
790 (todos-set-count, todos-set-categories)
791 (todos-truncate-categories-list, todos-update-categories-sexp)
792 (todos-read-file-name, todos-sort, todos-display-sorted)
793 (todos-label-to-key, todos-insert-sort-button): New functions.
794 (todos-display-categories-sorted-by-todo)
795 (todos-display-categories-sorted-by-diary)
796 (todos-display-categories-sorted-by-done)
797 (todos-display-categories-sorted-by-archived)
798 (todos-update-merged-files, todos-switch-to-archive)
799 (todos-choose-archive, todos-merged-top-priorities)
800 (todos-jump-to-category-other-file, todos-clear-matches)
801 (todos-add-file, todos-change-default-file, todos-move-category)
802 (todos-merge-category, todos-merge-categories)
803 (todos-edit-item-time, todos-move-item-to-file)
804 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
805 (todos-toggle-diary-nonmarking): New commands.
806 (todos-toggle-show-done-only): New command replacing todos-view-archive.
807 (todos-faces): New defgroup; use in all face definitions.
808 (todos-sorted-column, todos-archived-only, todos-search): New faces.
809 (todos-font-lock-keywords): Use subexpression 1 with matcher
810 todos-category-string-match.
811 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
812 (todos-categories-mode-map): Add new key bindings; change some
814 (todos-top-priorities-mode-map): New keymap.
815 (todos-menu): Add submenues and new entries.
816 (auto-mode-alist): Add extension of Todos and Todos archive files.
817 (todos-mode, todos-archive-mode): Make derived mode; use
818 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
819 and todos-switch-todos-file; make todos-show-done-only local
821 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
822 (todos-categories-mode): Make derived mode.
823 (todos-top-priorities-mode): New derived major mode.
824 (todos-save): Remove unused code.
825 (todos-quit): Handle todos-categories-mode; save archive buffer.
826 (todos-show): Add optional argument to prompt for a Todos file; if
827 called interactively or with prefix arg or from an archive, don't
828 make a no-op but reset todos-current-todos-file, todos-categories
829 and todos-category-number; use todos-read-file-name,
830 todos-display-categories-first, todos-ignore-archived-categories.
831 (todos-display-categories): Change argument name; refactor code
832 for inserting table labels and lines, using
833 todos-ignore-archived-categories, todos-sort,
834 todos-categories-number-separator, todos-insert-sort-button,
835 todos-categories-*-labels, and todos-insert-category-line.
836 (todos-display-categories-alphabetically): Use todos-display-sorted.
837 (todos-toggle-view-done-items): Use todos-done-string-start and
839 (todos-toggle-display-date-time): Use todos-done-string-start.
840 (todos-top-priorities): Remove autoload cookie; partially rewrite:
841 new argument list; allow combining top priorities of multiple
842 Todos files; change display to include category (and file) name as
843 part of item header; use todos-top-priorities-mode.
844 (todos-diary-items): Reimplement using only todos-top-priorities.
845 (todos-forward-category, todos-backward-category): Adjust to
846 1-based numbering of categories; move point to top of category.
847 (todos-jump-to-category): Rewrite, adding optional arguments to
848 provide a category in non-interactive uses and to prompt for which
849 Todos file to jump to.
850 (todos-search): Reimplement; highlight each match as found, say
851 how many matches remain and prompt whether to go to next one; at
852 end of search prompt whether to remove highlighting.
853 (todos-add-category): Remove autoload cookie; assign new category
854 the highest category number; associate zero-initialized vector of
855 item counts, instead of property list, with new category; use
856 todos-validate-category-name and todos-update-categories-sexp.
857 (todos-rename-category): Use todos-validate-category-name and
858 todos-update-categories-sexp; take archive files into account.
859 (todos-delete-category): Use todos-get-count and
860 todos-update-categories-sexp, let-bind variable that were
861 mistakenly global; use delete-region instead of kill-region;
862 adjust to 1-based numbering of categories; move point to top of
864 (todos-raise-category): Handle item count vectors; use
865 todos-insert-category-line and todos-update-categories-sexp.
866 (todos-insert-item): Use nil time-string argument to omit time
867 string; use todos-nondiary-start and todos-nondiary-end and
868 todos-update-categories-sexp; if category named to insert into
869 does not exist, add it; take new diary items into account.
870 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
871 (todos-insert-item-ask-date-time-for-diary)
872 (todos-insert-item-ask-date-time-for-diary-here)
873 (todos-insert-item-ask-date-time-here)
874 (todos-insert-item-ask-date-maybe-notime)
875 (todos-insert-item-ask-date-maybe-notime-for-diary)
876 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
877 (todos-insert-item-ask-date-maybe-notime-here)
878 (todos-insert-item-ask-date-for-diary)
879 (todos-insert-item-ask-date-for-diary-here)
880 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
881 (todos-insert-item-ask-dayname-time)
882 (todos-insert-item-ask-dayname-time-for-diary)
883 (todos-insert-item-ask-dayname-time-for-diary-here)
884 (todos-insert-item-ask-dayname-time-here)
885 (todos-insert-item-ask-dayname-maybe-notime)
886 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
887 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
888 (todos-insert-item-ask-dayname-maybe-notime-here)
889 (todos-insert-item-ask-dayname-for-diary)
890 (todos-insert-item-ask-dayname-for-diary-here)
891 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
892 (todos-insert-item-ask-time-for-diary)
893 (todos-insert-item-ask-time-for-diary-here)
894 (todos-insert-item-ask-time-here)
895 (todos-insert-item-maybe-notime)
896 (todos-insert-item-maybe-notime-for-diary)
897 (todos-insert-item-maybe-notime-for-diary-here)
898 (todos-insert-item-maybe-notime-here)
899 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
900 New insertion commands.
901 (todos-insert-item-from-calendar): Use todos-current-todos-file.
902 (todos-delete-item): Handle diary items;
903 use todos-update-categories-sexp.
904 (todos-edit-item): Check if point is with item string;
905 use read-string instead of read-from-minibuffer;
906 use todos-date-string-start; after editing put point at start of
908 (todos-edit-multiline): Narrow to item before invoking
909 todos-edit-mode; show key binding of todos-edit-quit in a message.
910 (todos-edit-quit): Use todos-save; kill buffer.
911 (todos-edit-item-header): Add optional argument to prompt for
912 editing only date string or only time string;
913 use todos-date-string-start.
914 (todos-edit-item-date, todos-edit-item-date-is-today)
915 (todos-raise-item-priority, todos-lower-item-priority): Rename
916 from todos-{raise, lower}-item and make them DTRT in
917 todos-top-priorities-mode.
918 (todos-set-item-priority): Make interactive; use todos-get-count
919 and todos-insert-with-overlays; interactively, just relocate the
920 item within its category.
921 (todos-move-item): Add optional argument to prompt for a category
922 in another Todos file; handle diary items; fix restoration after
923 cancelling before inserting.
924 (todos-item-done): Handle diary items; simplify handling of
925 insertion in done items section.
926 (todos-item-undo): Handle diary items.
927 (todos-archive-done-items): Adjust to new handling of archive
928 files (in parallel with Todos files); handle diary items; use
929 todos-done-string-start.
930 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
931 todos-nondiary-end and todos-item-counts.
932 (todos-toggle-diary-inclusion): Use todos-category-done instead of
934 (todos-print): Remove autoload cookie; rewrite to make overlays,
935 line wrapping and wrap prefixes printable.
936 (todos-date-pattern): Make parenthesized groups shy.
937 (todos-date-string-match): Use todos-date-string-start; make
938 todos-date-pattern an explicitly numbered group.
939 (todos-time-string-match): Use todos-date-string-start.
940 (todos-done-string-match): Use todos-done-string-start.
941 (todos-category-string-match): Rewrite to match new category and
942 category+filename patterns in todos-top-priorities-mode.
943 (todos-prefix-overlays): Use todos-done-string-start and
945 (todos-reset-prefix): Handle archive files; restore point after
947 (todos-reset-separator): Handle archive files.
948 (todos-category-number): Make category number one more than its
950 (todos-current-category): Adjust to 1-based numbering of categories.
951 (todos-category-select): Simplify handling of done items and done
952 separator string overlay.
953 (todos-item-start): Use todos-date-string-start and
954 todos-done-string-start.
955 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
956 (todos-item-string): Restore point after getting item bounds; use
957 buffer-substring-no-properties.
958 (todos-done-item-p): Use todos-done-string-start.
959 (todos-make-categories-list): Add optional argument to force
960 looping through file to get categories and their item counts,
961 otherwise set todos-categories from sexp in first line; use
962 vectors of item counts instead of plists; count diary items.
963 (todos-item-counts): Use todos-counts, todos-set-counts,
964 todos-get-counts, and todos-update-categories-sexp instead of
965 getting and setting properties; handle diary items.
966 (todos-read-category): Add argument to set prompt; don't offer
968 (todos-validate-category-name): Rename from
969 todos-check-category-name; take into account whether there are
970 already categories or not.
971 (todos-read-date): Accept `*' as an unspecified month, day, or year.
972 (todos-padded-string): Accommodate new structure of
973 todos-categories as alists; use todos-categories-align.
974 (todos-descending-counts-store): New variable.
975 (todos-insert-category-line): Rename from
976 todos-insert-category-name and reimplement using labels and
977 todos-get-counts instead of properties; use
978 todos-ignore-archived-categories; highlight sorted column.
980 2012-09-14 Stephen Berman <stephen.berman@gmx.net>
982 * calendar/todos.el Remove lots of commented out code; add various
983 comments; further code rearrangement.
984 (todos-insert-item-here-ask-date-time)
985 (todos-insert-item-ask-date-time)
986 (todos-insert-item-ask-dayname-time)
987 (todos-insert-item-for-diary)
988 (todos-insert-item-for-diary-ask-date-time)
989 (todos-make-categories-alist, todos-categories-alist): Remove.
990 (todos-categories-list): Comment out.
991 (todos-make-categories-list): New function replacing
992 todos-make-categories-alist, using category plists to get item
993 counts and taking archive into account.
994 (todos-current-todos-file): New variable.
995 (todos-mode-map): Update key bindings.
996 (todos-save): Add as comment code to make sure todos-categories
997 sexp is current on saving.
998 (todos-quit): Call todos-show on quitting Todos archive buffer.
999 (todos-show): If todos-current-todos-file is not set to Todos
1000 file, set it as a new file; set todos-categories from
1001 todos-make-categories-alist.
1002 (todos-display-categories): Use a different display format for
1003 archive file; put point initially on the first button.
1004 (todos-toggle-view-done-items): Check the category's `done'
1005 property to determine if there are done items.
1006 (todos-view-archive): Set todos-current-todos-file to the archive
1007 file; jump from the Todos file to the same category in the
1008 archive, if it exists, else jump to the first category; use
1009 message instead of error.
1010 (todos-add-category): Intern a special symbol for the new category
1011 and set its property list to holds counts of the numbers of todo,
1012 done and archived items in the category; assign the new category
1013 the current highest category number.
1014 (todos-rename-category): Don't use todos-categories-alist.
1015 (todos-delete-category): Check the category's `todo' and `done'
1016 properties to determine if it is empty; ensure that the end of the
1017 last category is found; after deleting the category, empty its
1018 plist and unintern its special symbol.
1019 (todos-insert-item-here): Fix argument list of todos-insert-item.
1020 (todos-delete-item, todos-raise-item, todos-lower-item):
1021 Use message instead of error.
1022 (todos-move-item): If the category to be moved to does not exist,
1023 add it as a new category.
1024 (todos-item-done, todos-reset-separator):
1025 Use todos-category-select instead of todos-show.
1026 (todos-archive-done-items): Make buffer writeable; conditionalize
1027 search for end of category; save after adding to archive in case
1028 the file is new, so it can be found.
1029 (todos-category-select): Wrap search in if instead of or+and;
1030 don't hide done items in an archive.
1031 (todos-set-item-priority): Check the category's `todo'
1032 property to determine if there are not done todo items.
1033 (todos-jump-to-category-noninteractively): Just switch to buffer
1034 visiting todos-current-todos-file, since this can be either a
1035 Todos file or an archive.
1036 (todos-item-counts): Use category's plist instead of an alist.
1037 (todos-longest-category-name-length): Argument is now a list of
1038 category names, not an alist, so just test each element, not each
1040 (todos-padded-string): Use todos-categories instead of
1041 todos-categories-alist.
1042 (todos-insert-category-name): Use category plist to get item
1043 counts; take archived items into account.
1045 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
1047 * calendar/todos.el: Numerous spelling and comment fixes, doc
1048 string fixes to conform with checkdoc, further rearrangement of
1050 (todos-previous-line, todos-previous-answer)
1051 (todos-insert-item-ask-date, todos-change-date)
1052 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1053 (todos-count-items-in-category, todos-count-all-items): Remove.
1054 (todos-update-numbered-prefix, todos-item-start-overlays)
1055 (todos-add-item-non-interactively): Comment out, also in uses.
1056 (todos-done-separator): Change default value.
1057 (todos-always-add-time-string): Rename from todos-add-time-string
1059 (todos-read-category): Rename from todos-completing-read and
1060 adjust callers; use todos-current-category.
1061 (todos-make-categories-alist): Rename from function
1062 todos-categories-alist.
1063 (todos-categories-alist): New variable.
1064 (todos-indent-to-here): New defcustom.
1065 (todos-button): New face.
1066 (todos-display-categories-alphabetically, todos-raise-category)
1067 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1068 (todos-insert-item-here-ask-date-time)
1069 (todos-insert-item-ask-date-time)
1070 (todos-insert-item-ask-dayname-time): New commands.
1071 (todos-edit-item-header): New command replacing todos-change-date.
1072 (todos-category-number, todos-indent, todos-item-counts)
1073 (todos-check-category-name, todos-read-date, todos-read-dayname)
1074 (todos-read-time, todos-padded-string)
1075 (todos-insert-category-name): New functions.
1076 (todos-set-item-priority): New function replacing
1077 todos-add-item-non-interactively.
1078 (todos-mode-map): Remap newline to newline-and-indent.
1079 (todos-edit-mode-map): Make sparse keymap; remap newline to
1081 (todos-categories-mode-map): New keymap.
1082 (todos-mode, todos-edit-mode): Make indent-line-function local
1083 variable and set to todos-indent.
1084 (todos-categories-mode): New major mode.
1085 (todos-display-categories): List categories initially in their
1086 numerical order; add optional argument to switch to alphabetical
1088 (todos-toggle-view-done-items): Simplify implementation.
1089 (todos-toggle-display-date-time): Fix regexp search string.
1090 (todos-backward-item, todos-forward-item): Use variable
1092 (todos-add-category): Use todos-check-category-name and
1093 todos-categories-alist.
1094 (todos-rename-category): Use todos-current-category,
1095 todos-check-category-name and todos-categories-alist.
1096 (todos-delete-category): Use todos-check-category-name and
1097 todos-categories-alist and take done items into account.
1098 (todos-insert-item): Use separate arguments to handle insertion of
1099 date/dayname and time strings, add new argument to mark item for
1100 diary inclusion, use new todos-read-* functions,
1101 todos-set-item-priority and todos-item-counts.
1102 (todos-insert-item-here, todos-insert-item-for-diary)
1103 (todos-insert-item-from-calendar): Adapt to new version of
1105 (todos-delete-item, todos-item-done): Use todos-item-counts.
1106 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1108 (todos-lower-item): Ensure only not-done items can be lowered.
1109 (todos-move-item): Use todos-current-category, todos-read-category
1110 and todos-item-counts.
1111 (todos-archive-done-items): Use todos-current-category and
1112 todos-item-counts; fix regexp search string.
1113 (todos-item-undo): Use todos-current-category,
1114 todos-set-item-priority, todos-insert-with-overlays and
1115 todos-item-counts; restore if user quits before inserting undone
1117 (todos-date-pattern): Rewrite without using
1118 todos-date-nodayname-pattern and todos-dayname-date-pattern.
1119 (todos-date-string-match): Do not make todos-date-pattern an
1121 (todos-time-string-match): Make todos-date-pattern a shy group.
1122 (todos-wrap-and-indent): Use todos-indent-to-here.
1123 (todos-reset-prefix): Revert to using todos-show instead of
1124 todos-category-select.
1125 (todos-prefix-overlays): Fix numbering of done items and updating
1127 (todos-category-select): Use todos-current-category; fix display
1128 of separator string; don't move point to top of category.
1129 (todos-jump-to-category-noninteractively): Use todos-category-number.
1130 (todos-insert-with-overlays): Use todos-item-start unconditionally.
1131 (todos-item-start): New variable.
1132 (todos-item-start): Use it to define this function.
1133 (todos-item-end): Adjust if item is last unfinished one before
1134 displayed done items.
1135 (todos-remove-item): Use todos-item-start and todos-item-end
1136 instead of todos-forward-item and todos-backward-item.
1137 (todos-longest-category-name-length): Add argument for list of
1140 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
1142 * calendar/todos.el: Comment out calendar require, since diary-lib
1143 requires calendar. Rearrange file to group definitions according
1144 to their use (types of commands, internal functions, etc.)
1145 (todos-file-done, todos-insert-threshold, todos-remove-separator)
1146 (todos-date-string, todos-time-string, todos-check-overlay)
1147 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1149 (todos-current-date, todos-item-end-overlays)
1150 (todos-list-categories): Remove.
1151 (todos-item-end): Remove (the variable, not the function).
1152 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
1154 (todos-done-separator, todos-done-string, todos-show-with-done)
1155 (todos-files, todos-archive-file, todos-categories-buffer)
1156 (todos-archived-categories-buffer, todos-wrap-lines)
1157 (todos-line-wrapping-function): New defcustoms.
1158 (todos-done, todos-done-sep): New faces.
1159 (todos-done-face, todos-done-sep-face): Corresponding new variables.
1160 (todos-search-string, todos-date-nodayname-pattern)
1161 (todos-dayname-date-pattern, todos-date-pattern): New variables.
1162 (todos-done-string-match, todos-category-string-match)
1163 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1164 (todos-current-category, todos-count-items-in-category)
1165 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1166 (todos-longest-category-name-length): New functions.
1167 (todos-categories-list): New buffer-specific function replacing
1168 todos-list-categories.
1169 (todos-toggle-item-numbering, todos-toggle-view-done-items)
1170 (todos-search, todos-view-archive, todos-diary-items)
1171 (todos-toggle-display-date-time, todos-insert-item-no-time)
1172 (todos-insert-item-ask-date, todos-insert-item-for-diary)
1173 (todos-insert-item-from-calendar, todos-edit-quit)
1174 (todos-change-date, todos-item-done, todos-archive-done-items)
1175 (todos-item-undo): New commands.
1176 (todos-archive-mode): New major mode.
1177 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1178 (todos-category-beg): Change value.
1179 (todos-number-prefix): Change default value.
1180 (todos-edit-buffer): Change from defvar to defcustom.
1181 (todos-font-lock-keywords): Use todos-done-string-match and
1182 todos-category-string-match.
1183 (todos-backward-item, todos-forward-item): Use todos-done-string
1184 and todos-date-pattern.
1185 (todos-display-categories): Reimplement using buttons from
1186 button.el instead of widgets.
1187 (todos-top-priorities): Use with-current-buffer; take done items
1188 into account; ensure buffers gets fontified.
1189 (todos-add-category): Ensure new category does not begin with
1191 (todos-jump-to-category): Use todos-category-select instead of
1193 (todos-rename-category): Prompt for new name in body instead of in
1195 (todos-insert-item): Don't insert in done items section of
1196 category. Add two optional arguments to control insertion: (i) to
1197 insert near point without prompting for priority; (ii) to use
1198 defaults for date and time strings, to prompt for these, or to
1199 choose date from the Calendar.
1200 (todos-insert-item-here): Reimplement using todos-insert-item.
1201 (todos-delete-item): Don't move point after deleting last item.
1202 (todos-raise-item, todos-lower-item): Take done items into account.
1203 (todos-move-item): Don't move done items; update item numbering;
1204 restore if user quits before inserting moved item.
1205 (todos-print): Prompt for confirmation to print.
1206 (todos-reset-prefix): Search backward from end of file instead of
1208 (todos-jump-to-category-noninteractively): Take Todos archive into
1210 (todos-category-select): Show or hide done items according to
1211 todos-show-with-done; if shown, coordinate separator and prefix
1213 (todos-add-item-non-interactively): Replace binary insertion
1214 algorithm with prompting for numerical priority.
1215 (todos-insert-with-overlays): Remove use of variable todos-item-end.
1216 (todos-item-start): Take done items into account; use
1218 (todos-item-end): Reimplement using todos-forward-item.
1219 (todos-remove-item): Reimplement using todos-forward-item and
1220 todos-backward-item; redo overlay handling.
1221 (todos-mode-map): Add some new key bindings and change numerous
1222 existing bindings; use "i" as prefix key for item insertion
1224 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1225 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1226 spec; set buffer-read-only to t and consequently let-bind this
1227 variable in all Todos commands that change buffer content.
1228 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1229 (todos-save): Don't save top priorities buffer.
1230 (todos-show): Make a no-op if called interactively in narrowed
1231 Todos mode, since, also to work around item prefix reduplication
1232 bug with show-paren-mode enabled; use todos-categories-list.
1234 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1236 * calendar/todos.el: Comment out time-stamp require; require
1237 calendar and diary-lib.
1238 (todos-prefix): Change default value and doc string to reflect new
1239 meaning; add :initialize and :set functions.
1240 (todos-time-string-format, todos-entry-prefix-function)
1241 (todos-initials, todos-entry-timestamp-initials)
1242 (todos-prefix-face, todos-category-sep, todos-category-end)
1243 (todos-cp): Comment out.
1244 (todos-prefix-string): Inherit from font-lock-comment-face.
1245 (todos-item-header, todos-item-header-face): Remove.
1246 (todos-date, todos-time): New faces.
1247 (todos-date-face, todos-time-face): Corresponding new variables.
1248 (todos-add-time-string, todos-include-in-diary)
1249 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1251 (todos-item-end, todos-item-start-overlays)
1252 (todos-item-end-overlays): New variables.
1253 (todos-date-string-match, todos-time-string-match): New functions.
1254 (todos-font-lock-keywords): Use them.
1255 (todos-current-date, todos-date-string, todos-time-string)
1256 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1257 (todos-reset-prefix, todos-update-numbered-prefix)
1258 (todos-check-overlay, todos-item-overlays)
1259 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1260 (todos-highlight-item): New command.
1261 (todos-category-beg): Change value.
1262 (todos-category-select): Use todos-category-beg and todos-item-overlays.
1263 (todos-backward-item): Add optional count argument; use it and
1265 (todos-forward-item): Use todos-check-overlay, todos-item-start
1266 and variable todos-item-end.
1267 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1268 todos-update-numbered-prefix, todos-item-overlays.
1269 (todos-add-category, todos-rename-category)
1270 (todos-list-categories): Use new category format.
1271 (todos-delete-category): Allow deleting non-empty category;
1272 use new category format.
1273 (todos-add-item-non-interactively): Comment out unnecessary
1274 save-excursion; use todos-insert-with-overlays.
1275 (todos-insert-item): Comment out unnecessary save-excursion; use
1276 new item format for date/time header and diary inclusion marking.
1277 (todos-insert-item-here): Use new item format for date/time header
1278 and diary inclusion marking; use todos-insert-with-overlays.
1279 (todos-raise-item): Make a no-op if point is on an empty line; use
1280 todos-insert-with-overlays.
1281 (todos-lower-item): Use todos-insert-with-overlays.
1282 (todos-top-priorities): Move call to todos-show inside
1283 save-excursion; add save-current-buffer after save-restriction.
1284 (todos-item-start): Use variable todos-item-end.
1285 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1286 (todos-remove-item): Take item overlays into account.
1287 (todos-mode): Change calculation of wrap-prefix; make
1288 hl-line-range-function a local variable and set it to highlight
1290 (todos-show): Ensure point stays at top of category.
1292 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1294 * calendar/todos.el (todos-window-configuration): Comment out.
1295 (todos-display-categories): Comment out use of
1296 todos-window-configuration; use switch-to-buffer instead of
1298 (todos-jump-to-category-noninteractively): Comment out use of
1299 todos-window-configuration.
1300 (todos-edit-item): Don't allow editing of date/time item header.
1301 (todos-insert-item, todos-insert-item-here): Insert date/time
1302 header in front of new item string.
1303 (todos-mode): Tweak wrap-prefix.
1305 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1307 * calendar/todos.el (todos-file-do, todos-file-done):
1308 Change default location to directory "~/.emacs.d/".
1309 (todos-completion-ignore-case, todos-categories-buffer):
1311 (todos-prefix-string, todos-item-header): New faces.
1312 (todos-prefix-face, todos-item-header-face): Corresponding
1314 (todos-rename-category, todos-delete-category)
1315 (todos-display-categories, todos-move-item): New commands.
1316 (todos-mode-map): Add key bindings for new commands and for
1317 todos-add-category, which had no key binding.
1318 (todos-jump-to-category-noninteractively): New function.
1319 (todos-top-priorities): Comment out code using a previously
1321 (todos-completing-read): Allow SPC to insert a space when entering
1322 a new category name; use todos-completion-ignore-case.
1323 (todos-font-lock-keywords, todos-window-configuration):
1325 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1326 word-wrap, and wrap-prefix local variables.
1328 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1330 * calendar/todos.el (todos-list-categories): Fix typos.
1331 (todos-show): Ensure file is in todos-mode.
1333 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1335 * calendar/todos.el (todos-header): Remove defvar.
1336 (todos-add-category): Comment out code that inserts and updates
1337 the file local variables first line of the file todos-file-do.
1338 (todos-list-categories): New function.
1339 (todos-show): Use it; remove use of a previously deleted variable.
1341 2012-09-11 Stephen Berman <stephen.berman@gmx.net>
1343 * calendar/todos.el: New file. This is a copy of todo-mode.el
1344 from revision 94343 except for the following changes: replace all
1345 occurrences of the namespace prefix "todo-" with "todos-", delete
1346 the defvar todo-cats (the old name of todo-categories) and its use
1347 in todos-add-category, delete all defaliases of old command names.
1349 2012-09-11 Bastien Guerry <bzg@gnu.org>
1351 * subr.el (set-temporary-overlay-map): Add a docstring.
1354 2012-09-11 Bastien Guerry <bzg@gnu.org>
1356 * minibuffer.el (completion-table-subvert): Fix docstring.
1359 2012-09-11 Bastien Guerry <bzg@gnu.org>
1361 * help-fns.el (describe-variable): Fix typo. (bug#12346)
1363 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1365 * progmodes/sql.el: Version 3.1
1366 (sql-db2-escape-newlines): New variable.
1367 (sql-escape-newlines-filter): Use it.
1369 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
1371 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1373 2012-09-10 Dan Nicolaescu <dann@gnu.org>
1375 * vc/diff-mode.el (diff-mode-menu): Bind
1376 diff-remove-trailing-whitespace.
1378 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1380 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1381 (emacs-lisp-byte-code-comment)
1382 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1384 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1385 (eval-defun-2): Remove bogus interactive spec.
1386 (lisp-indent-line): Remove redundant whole-exp code, now done in
1387 indent-according-to-mode.
1388 (save-match-data): Remove redundant indent data.
1390 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1393 2012-09-09 Juri Linkov <juri@jurta.org>
1395 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1396 (replace-lax-whitespace, query-replace-regexp)
1397 (query-replace-regexp-eval, replace-regexp): Doc fix.
1398 (perform-replace, replace-highlight): Let-bind
1399 isearch-lax-whitespace to replace-lax-whitespace and
1400 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1402 * isearch.el (isearch-query-replace): Let-bind
1403 replace-lax-whitespace to isearch-lax-whitespace and
1404 replace-regexp-lax-whitespace to
1405 isearch-regexp-lax-whitespace. (Bug#10885)
1407 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1409 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1411 2012-09-09 Alan Mackenzie <acm@muc.de>
1413 * progmodes/cc-engine.el (c-state-cache-init):
1414 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1415 (c-record-parse-state-state):
1416 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1418 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1420 * register.el (register-separator): Rename from
1421 separator-register. All uses changed. Doc fix.
1422 (register): Fix version.
1424 2012-09-09 Chong Yidong <cyd@gnu.org>
1426 * replace.el (query-replace-map): Bind four new symbols for
1427 requesting window scrolling.
1429 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1430 query-replace-map (Bug#8948).
1432 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1434 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1435 since they are now in query-replace-map.
1437 * window.el (scroll-other-window-down): Make the arg optional.
1439 2012-09-09 Chong Yidong <cyd@gnu.org>
1441 * files.el (hack-local-variables-confirm): Use quit-window to kill
1442 the *Local Variables* buffer.
1444 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1446 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1447 not just expect to be at its beginning. Adjust callees.
1448 Succeed when do-end block has no space before the pipe character.
1449 (ruby-brace-to-do-end): When the original block is one-liner,
1450 convert to multiline. Reindent the result.
1452 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
1454 * register.el (register): New group.
1455 (register-separator): New user option.
1456 (increment-register): Route it to `append-to-register', if
1457 register contains text. Implication is that `C-x r +' can now be
1458 used for appending to a text register (bug#12217).
1459 (append-to-register, prepend-to-register): Add separator based on
1460 `register-separator.
1462 2012-09-08 Alan Mackenzie <acm@muc.de>
1464 AWK Mode: make auto-newline work when there's "==" in the pattern.
1465 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1467 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1468 Test more rigorously for "=" token.
1470 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1472 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1473 Only fail when reached LIMIT.
1475 2012-09-08 Chong Yidong <cyd@gnu.org>
1477 * dired.el (dired-mode-map): Don't bind M-=.
1479 * dired-aux.el (dired-diff): Use backup file as default.
1481 2012-09-08 Drew Adams <drew.adams@oracle.com>
1483 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1485 2012-09-08 Chong Yidong <cyd@gnu.org>
1487 * subr.el (syntax-after, syntax-class): Doc fix.
1489 2012-09-08 Martin Rudalics <rudalics@gmx.at>
1491 * window.el (display-buffer-in-previous-window): New buffer
1492 display action function.
1494 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1495 (debugger-previous-window): New variable.
1496 (debug): Rewrite using display-buffer-in-previous-window,
1497 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1499 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1501 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1503 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1505 * progmodes/python.el (python-shell-send-string):
1506 When default-directory is remote, create temp file on remote
1508 (python-shell-send-file): When file is remote, pass local view of
1509 file paths to remote Python interpreter. (Bug#12340)
1511 2012-09-07 Chong Yidong <cyd@gnu.org>
1513 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1515 * files.el (after-find-file): Don't fail on a read-only buffer if
1516 require-final-newline is `visit' or `visit-save' (Bug#11156).
1518 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1520 * userlock.el (ask-user-about-supersession-threat):
1521 Use read-char-choice (Bug#12093).
1523 2012-09-07 Chong Yidong <cyd@gnu.org>
1525 * subr.el (buffer-narrowed-p): New function.
1527 * ses.el (ses-widen):
1528 * simple.el (count-words--buffer-message):
1529 * net/browse-url.el (browse-url-of-buffer): Use it
1531 * simple.el (count-words-region): Don't signal an error if there
1532 is a non-nil prefix arg and the mark is not set.
1534 * help.el (describe-key-briefly): Allow the message to be seen
1535 when invoked from the minibuffer (Bug#7014).
1537 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1539 * progmodes/ruby-mode.el (ruby-end-of-defun)
1540 (ruby-beginning-of-defun): Simplify, allow indentation before
1541 block beginning and end keywords.
1542 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1543 (ruby-end-of-defun): Expect that the point is at the beginning of
1546 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1550 (cl--make-usage-args): Strip _ from argument names.
1552 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1554 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1555 obsolete alias speedbar-key-map.
1556 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1557 (vhdl-index-menu-init): Don't use obsolete variable
1558 font-lock-maximum-size.
1560 2012-09-06 Chong Yidong <cyd@gnu.org>
1562 * frame.el (window-system-version): Mark as obsolete.
1564 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1565 of obsolete variable speedbar-key-map.
1567 2012-09-06 Juri Linkov <juri@jurta.org>
1569 * replace.el (replace-lax-whitespace): New defcustom.
1570 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1571 (replace-string, replace-regexp): Mention it in docstrings.
1572 (perform-replace, replace-highlight): Let-bind
1573 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1574 to the values of replace-lax-whitespace and regexp-flag.
1575 Don't let-bind search-whitespace-regexp. (Bug#10885)
1577 * isearch.el (isearch-query-replace): Let-bind
1578 replace-lax-whitespace instead of let-binding
1579 replace-search-function and replace-re-search-function.
1580 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1581 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1582 (isearch-toggle-symbol): Set isearch-regexp to nil
1583 in isearch-word mode (like in isearch-toggle-word).
1585 2012-09-06 Juri Linkov <juri@jurta.org>
1587 * replace.el (replace-search-function)
1588 (replace-re-search-function): Set default values to nil.
1589 (perform-replace): Let-bind isearch-related variables based on
1590 replace-related values, call `isearch-search-fun' and let-bind
1591 the result to `search-function'. Remove code that sets
1592 `search-function' and `search-string' separately for
1594 (replace-highlight): Add new argument `delimited-flag' and
1595 rename other arguments to the names used in `perform-replace'.
1596 Let-bind `isearch-word' to the argument `delimited-flag'.
1597 (Bug#10885, bug#10887)
1599 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1601 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1602 ruby-beginning-of-indent, simplify, allow all keywords to have
1603 indentation before them.
1604 (ruby-beginning-of-indent): Adjust for above. Search until the
1605 found point is not inside a string or comment.
1606 (ruby-font-lock-keywords): Allow symbols to start with "@"
1607 character, give them higher priority than variables.
1608 (ruby-syntax-propertize-function)
1609 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1610 matchers. Expression expansions are not comments when inside a
1611 string, and there comment syntax status is irrelevant.
1612 (ruby-match-expression-expansion): New function. Check that
1613 expression expansion is inside a string, and it's not escaped.
1614 (ruby-font-lock-keywords): Use it.
1616 2012-09-05 Martin Rudalics <rudalics@gmx.at>
1618 * help.el (temp-buffer-max-height): New default value.
1619 (temp-buffer-resize-frames): New option.
1620 (resize-temp-buffer-window): Optionally resize frame.
1622 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1623 (fit-frame-to-buffer): New function.
1625 2012-09-05 Glenn Morris <rgm@gnu.org>
1627 * emulation/cua-rect.el (cua--init-rectangles):
1628 * textmodes/picture.el (picture-mode-map):
1629 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1630 like forward-char and backward-char. (Bug#12317)
1632 2012-09-05 Leo Liu <sdl.web@gmail.com>
1634 * progmodes/flymake.el (flymake-warning-re): New variable.
1635 (flymake-parse-line): Use it.
1637 2012-09-05 Glenn Morris <rgm@gnu.org>
1639 * calendar/holidays.el (holiday-christian-holidays):
1640 Rename an entry. (Bug#12289)
1642 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1644 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1647 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1649 * loadup.el: Load macroexp. Remove hack.
1650 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1651 (macroexp--expand-all): Use it to get better warnings.
1652 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1653 (internal-macroexpand-for-load): New functions.
1654 (macroexp--pending-eager-loads): New var.
1655 (emacs-startup-hook): New hack to replace one in loadup.el.
1656 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1657 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1658 (cl-psetf): Simplify.
1659 (cl-defstruct): Add indent rule.
1661 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1663 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1664 over `user-mail-address' for the SMTP MAIL FROM envelope.
1665 (smtpmail-via-smtp): Ditto.
1667 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1669 * progmodes/ruby-mode.el: Clean up keybindings.
1670 (ruby-mode-map): Don't bind ruby-electric-brace,
1671 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1672 backward-kill-word, reindent-then-newline-and-indent.
1673 (ruby-mark-defun): Remove.
1674 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1675 (ruby-mode): Set local beginning-of-defun-function and
1676 end-of-defun-function values.
1678 2012-09-03 Martin Rudalics <rudalics@gmx.at>
1680 * window.el (temp-buffer-window-setup-hook)
1681 (temp-buffer-window-show-hook): New hooks.
1682 (temp-buffer-window-setup, temp-buffer-window-show)
1683 (with-temp-buffer-window): New functions.
1684 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1685 (special-display-popup-frame): Make sure the window used shows BUFFER.
1687 * help.el (temp-buffer-resize-mode): Fix doc-string.
1688 (resize-temp-buffer-window): New optional argument WINDOW.
1690 * files.el (recover-file, save-buffers-kill-emacs):
1691 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1693 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
1695 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1696 remote definition of `default-directory', ensure we can connect.
1698 2012-09-02 Juri Linkov <juri@jurta.org>
1700 Toggle whitespace matching mode with M-s SPC.
1701 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1703 * isearch.el (search-whitespace-regexp): Doc fix.
1704 Remove cons cell customization.
1705 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1706 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1708 (isearch-forward, isearch-forward-regexp): Doc fix.
1709 (isearch-toggle-lax-whitespace): New command.
1710 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1711 (re-search-forward-lax-whitespace)
1712 (re-search-backward-lax-whitespace): New functions.
1713 (isearch-whitespace-regexp): Remove function.
1714 (isearch-query-replace): Let-bind replace-search-function and
1715 replace-re-search-function.
1716 (isearch-occur): Let-bind search-spaces-regexp according to the
1717 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1718 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1719 condition for C-q SPC.
1720 (isearch-search-fun-default): Use new functions mentioned above.
1721 (isearch-search-forward, isearch-search-backward): Remove functions.
1722 (isearch-search): Don't let-bind search-spaces-regexp.
1723 (isearch-lazy-highlight-space-regexp): Remove variable.
1724 (isearch-lazy-highlight-lax-whitespace)
1725 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1726 (isearch-lazy-highlight-new-loop): Use them.
1727 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1729 2012-09-02 Chong Yidong <cyd@gnu.org>
1731 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1733 2012-09-02 Glenn Morris <rgm@gnu.org>
1735 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1737 2012-09-01 Glenn Morris <rgm@gnu.org>
1739 * term.el: Tidy up menu definitions.
1740 (term-mode-map): Use easymenu for In/Out, Complete menus.
1741 (term-pager-break-map): Initialize in the defvar.
1742 (term-terminal-menu, term-signals-menu): Define with easymenu.
1743 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1744 (term-pager-menu): New, extracted from term-process-pager.
1745 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1746 (term-update-mode-line): Propertize line/char and page items.
1747 (term-process-pager): Move keymap initialization elsewhere.
1749 2012-09-01 Martin Rudalics <rudalics@gmx.at>
1751 * window.el (switch-to-prev-buffer): Handle additional values of
1752 BURY-OR-KILL argument. Don't switch in minibuffer window.
1753 (switch-to-next-buffer): Don't switch in minibuffer window.
1754 (quit-restore-window): New function based on quit-window.
1755 Handle additional values of former KILL argument.
1756 (quit-window): Call quit-restore-window with appropriate
1757 interpretation of KILL argument.
1758 (display-buffer-below-selected): New buffer display action
1761 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1763 * minibuffer.el (completion-at-point-functions): Complete docstring
1766 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1768 Better seed support for (random).
1769 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1770 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1771 * play/mpuz.el, play/tetris.el, play/zone.el:
1772 * calc/calc-comb.el (math-init-random-base):
1773 * play/blackbox.el (bb-init-board):
1774 * play/life.el (life):
1775 * server.el (server-use-tcp):
1776 * type-break.el (type-break):
1777 Remove unnecessary call to (random t).
1778 * net/sasl.el (sasl-unique-id-function):
1779 Change (random t) to (random), now that the latter is more random.
1780 * play/life.el (life-initialized): Remove no-longer-needed var.
1782 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1784 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1785 Consider frame's buffer predicate when choosing the buffer.
1788 2012-08-30 Richard Stallman <rms@gnu.org>
1790 * simple.el (special-mode-map): Delete binding for `z'.
1792 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1794 * progmodes/compile.el (compilation-always-kill): Doc fix.
1796 2012-08-30 Chong Yidong <cyd@gnu.org>
1798 * window.el (display-buffer-reuse-frames): Make the obsolescence
1799 message more informative.
1801 2012-08-30 Glenn Morris <rgm@gnu.org>
1803 * paren.el (show-paren-delay):
1804 Add a :set function. Doc fix. (Bug#12297)
1806 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1808 * progmodes/compile.el (compilation-always-kill): New var.
1809 (compilation-start): Use it.
1811 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1813 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1814 * files.el (read-only-mode): Move to simple.el.
1816 * files.el (read-only-mode): New minor mode.
1817 (toggle-read-only): Use it and mark obsolete.
1818 (find-file--read-only):
1819 * vc/vc.el (vc-next-action, vc-checkout):
1820 * vc/vc-cvs.el (vc-cvs-checkout):
1821 * obsolete/vc-mcvs.el (vc-mcvs-update):
1822 * ffap.el (ffap--toggle-read-only): Update callers.
1824 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
1826 * eshell/esh-ext.el (eshell-external-command): Do not examine
1827 remote shell scripts.
1828 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1830 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1833 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1835 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1837 2012-08-28 Leo Liu <sdl.web@gmail.com>
1839 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1840 completion-at-point. (Bug#12220)
1842 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1844 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1846 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1848 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1849 be buffer-local; add delete-trailing-whitespace (bug#12259).
1851 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
1853 * progmodes/hideif.el (hif-compress-define-list):
1854 Fix typo. (Bug#11951)
1856 2012-08-28 Dan Nicolaescu <dann@gnu.org>
1858 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1859 buffer local setting.
1861 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1862 rcirc-encode-coding-system.
1864 2012-08-28 Leo Liu <sdl.web@gmail.com>
1866 * net/rcirc.el (rcirc-split-message): New function.
1867 (rcirc-send-message): Use it. (Bug#12051)
1869 2012-08-28 Juri Linkov <juri@jurta.org>
1871 * info.el (Info-fontify-node): Hide empty lines at the end of
1872 the node. (Bug#12272)
1874 2012-08-27 Drew Adams <drew.adams@oracle.com>
1876 * dired.el (dired-pop-to-buffer): Make window start at beginning
1877 of buffer (Bug#12281).
1879 2012-08-26 Chong Yidong <cyd@gnu.org>
1881 * window.el (special-display-regexps, special-display-frame-alist)
1882 (special-display-buffer-names, special-display-function)
1883 (display-buffer-reuse-frames): Mark as obsolete.
1885 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1887 * help.el (help-print-return-message): Don't treat
1888 display-buffer-reuse-frames specially.
1890 2012-08-26 Chong Yidong <cyd@gnu.org>
1892 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1893 New variable, replacing gdb-frame-parameters.
1894 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1895 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1896 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1897 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1898 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1899 the functions directly with gdb-display-buffer-other-frame-action.
1900 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1901 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1902 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1903 (gdb-display-registers-buffer): Define directly.
1904 (def-gdb-display-buffer): Macro deleted.
1905 (gdb-display-buffer): Remove second and third args, callers don't
1906 use them. Defer to the default display-buffer behavior, apart
1907 from making windows dedicated.
1908 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1910 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1912 * window.el (display-buffer-pop-up-frame): Handle a
1913 pop-up-frame-parameters alist entry.
1914 (display-buffer): Document it.
1916 2012-08-26 Chong Yidong <cyd@gnu.org>
1918 * isearch.el (search-whitespace-regexp): Make string and nil
1919 values apply to both ordinary and regexp search. Allow a cons
1920 cell value to distinguish between the two.
1921 (isearch-whitespace-regexp, isearch-search-forward)
1922 (isearch-search-backward): New functions.
1923 (isearch-occur, isearch-search-fun-default, isearch-search)
1924 (isearch-lazy-highlight-new-loop): Use them.
1925 (isearch-forward, isearch-forward-regexp): Doc fix.
1927 2012-08-26 Chong Yidong <cyd@gnu.org>
1929 * faces.el (help-argument-name): Always inherit from italic
1932 2012-08-25 Martin Rudalics <rudalics@gmx.at>
1934 * window.el (window--even-window-heights): Even heights when
1935 WINDOW and the selected window form a vertical combination.
1936 (display-buffer-use-some-window): Provide that window used gets
1937 sized back by quit-window. (Bug#11880) and (Bug#12091)
1939 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1941 Fix file time stamp problem with bzr and CVS (Bug#12001).
1942 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1943 in the file's time stamp, since the version control system loses
1946 2012-08-22 Juri Linkov <juri@jurta.org>
1948 * info.el (Info-fontify-node): Hide the suffix of the
1949 Info file name in the header line. (Bug#12187)
1951 2012-08-22 Glenn Morris <rgm@gnu.org>
1953 * calendar/cal-tex.el (cal-tex-weekly-common):
1954 Restore leading blank page.
1956 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
1958 * misc.el (forward-to-word, backward-to-word): Activate or extend
1959 the region under `shift-select-mode'. (Bug#12231)
1961 2012-08-22 Bastien Guerry <bzg@gnu.org>
1963 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1964 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1965 gives details on why the space is never needed.
1967 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1969 * window.el (walk-window-tree, window-with-parameter):
1970 New optional argument MINIBUF to control whether these functions
1971 should run on the minibuffer window.
1972 (window-at-side-list): Don't operate on minibuffer window.
1973 (window-in-direction): Simplify and rewrite doc-string.
1974 (window--size-ignore): Rename to window--size-ignore-p.
1976 (display-buffer-in-atom-window, window--major-non-side-window)
1977 (window--major-side-window, display-buffer-in-major-side-window)
1978 (delete-side-window, display-buffer-in-side-window):
1980 (window--side-check, window-deletable-p, delete-window)
1981 (delete-other-windows, split-window): Handle side windows and
1982 atomic windows appropriately.
1983 (window--display-buffer): Call display-buffer-record-window also
1984 when the window buffer did not change.
1986 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1988 * help-fns.el (help-fns--key-bindings):
1989 Abbreviate non-symbol remap targets. (Bug#12174)
1991 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1993 * dired.el (dired-mark-remembered): Don't clobber point.
1996 2012-08-22 Glenn Morris <rgm@gnu.org>
1998 * progmodes/bug-reference.el (bug-reference): New custom group.
1999 (bug-reference-bug-regexp): Make it a defcustom.
2001 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2003 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2004 (js-paren-indent-offset, js-square-indent-offset)
2005 (js-curly-indent-offset): Add :safe (Bug#12257).
2007 2012-08-22 Edward O'Connor <hober0@gmail.com>
2009 * json.el (json-key-format): Add error properties.
2010 (json-encode-key): New function.
2011 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2012 Use json-encode-key.
2014 2012-08-22 Glenn Morris <rgm@gnu.org>
2016 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2017 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2018 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2019 Update for above change.
2021 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2023 * cus-face.el (custom-face-attributes): Fix customize type for the
2024 :underline attribute. (Bug#11805)
2026 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2028 * window.el (window-point-1, set-window-point-1): Remove.
2029 (window-in-direction, record-window-buffer)
2030 (set-window-buffer-start-and-point, split-window-below)
2031 (window--state-get-1, display-buffer-record-window):
2032 Replace calls to window-point-1 and set-window-point-1 by calls to
2033 window-point and set-window-point respectively.
2035 2012-08-21 Glenn Morris <rgm@gnu.org>
2037 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2038 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2041 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2042 (cal-tex-shortday): New function.
2043 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2044 (cal-tex-cursor-filofax-daily): Use the above.
2046 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2048 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2049 (cal-tex-cursor-filofax-week): Use them.
2051 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2053 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2054 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2056 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2057 (cal-tex-end-document): Don't rely on buffer name.
2059 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2061 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2062 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2063 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2066 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2067 (cal-tex-cursor-week, cal-tex-cursor-week2)
2068 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2069 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2070 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2071 (cal-tex-insert-preamble, cal-tex-b-document)
2072 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2073 Improve cal-tex-cmd usage.
2075 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2076 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2077 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2078 (cal-tex-weekly-paper): New function.
2079 (cal-tex-cursor-week, cal-tex-cursor-week2)
2080 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2081 (cal-tex-cursor-day): Use it.
2083 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2084 (cal-tex-cursor-filofax-week): Remove leading blank page.
2086 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2087 Add autoload cookie. For now at least, don't use color, since
2088 no other cal-tex function does.
2090 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2091 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2092 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2094 2012-08-21 Juri Linkov <juri@jurta.org>
2096 * info.el (Info-file-attributes): New variable.
2097 (info-insert-file-contents): Add file attributes to
2098 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2099 `Info-toc-nodes' when previous modtime of the Info file is less
2101 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2102 of info.el. (Bug#12230)
2104 2012-08-20 Glenn Morris <rgm@gnu.org>
2106 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2107 * calendar/holidays.el (calendar-holiday-list):
2108 Report errors with display-warning rather than beep'n'sleep.
2110 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2112 * net/tramp.el (tramp-accept-process-output): Accept only output
2113 from PROC. Otherwise, process filters and sentinels might be
2114 confused. (Bug#12145)
2116 2012-08-20 Chong Yidong <cyd@gnu.org>
2118 * descr-text.el (describe-text-properties-1): Use overlays-in to
2119 report on empty overlays (Bug#3322).
2121 2012-08-20 Glenn Morris <rgm@gnu.org>
2123 * mail/rmailout.el (rmail-output-read-file-name):
2124 Trap and report errors in rmail-output-file-alist elements.
2126 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2127 since most non-font-lock faces are not also variables).
2129 2012-08-20 Edward Reingold <reingold@iit.edu>
2131 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2132 New function. (Bug12160)
2134 2012-08-19 Glenn Morris <rgm@gnu.org>
2136 * mail/rmailout.el (rmail-output-read-file-name):
2137 Fix previous change (when the alist is nil or does not match).
2139 2012-08-19 Chong Yidong <cyd@gnu.org>
2141 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2144 2012-08-18 Chong Yidong <cyd@gnu.org>
2146 * simple.el (yank-handled-properties): New defcustom.
2147 (yank-excluded-properties): Add font-lock-face and category.
2150 * subr.el (remove-yank-excluded-properties):
2151 Obey yank-handled-properties. The special handling of font-lock-face
2152 and category is now done this way, instead of being hard-coded.
2153 (insert-for-yank-1): Remove font-lock-face handling.
2154 (yank-handle-font-lock-face-property)
2155 (yank-handle-category-property): New function.
2157 2012-08-17 Glenn Morris <rgm@gnu.org>
2159 * mail/rmailout.el (rmail-output-read-file-name):
2160 Check rmail-output-file-alist against the full message body
2161 in the correct rmail buffer. (Bug#12214)
2163 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2165 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2166 Eliminate superfluous prompt. (Bug#12203)
2168 2012-08-17 Chong Yidong <cyd@gnu.org>
2170 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2171 font spec, set the font directly (Bug#3228).
2173 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2175 * window.el (delete-window): Fix last fix.
2177 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2179 * window.el (window-valid-p): Move to window.c.
2180 (window-child, window-child-count, window-last-child)
2181 (window-normalize-window, window-combined-p)
2182 (window-combinations, window-atom-root, window-min-size)
2183 (window-sizable, window-sizable-p, window-size-fixed-p)
2184 (window-min-delta, window-max-delta, window--resizable)
2185 (window--resizable-p, window-resizable, window-total-size)
2186 (window-full-height-p, window-full-width-p, window-body-size)
2187 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2188 (minimize-window, window-deletable-p, delete-window)
2189 (delete-other-windows, set-window-buffer-start-and-point)
2190 (next-buffer, previous-buffer, split-window, balance-windows-2)
2191 (set-window-text-height, window-buffer-height)
2192 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2193 (truncated-partial-width-window-p): Minor code adjustments.
2194 In doc-strings state whether the argument window has to denote a
2195 live, valid or any window.
2197 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2199 * progmodes/subword.el (subword-forward-function)
2200 (subword-backward-function, subword-forward-regexp)
2201 (subword-backward-regexp): New variables.
2202 (subword-forward, subword-forward-internal, subword-backward-internal):
2203 Use new variables, eg so that different "word" definitions
2204 can be easily used. (Bug#11411)
2206 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2208 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2209 for composite selectors.
2210 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2211 operation just because we can't find a previous revision.
2213 2012-08-15 Chong Yidong <cyd@gnu.org>
2215 * frame.el (set-frame-font): Accept font objects.
2217 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2219 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2221 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2223 * man.el (Man-overstrike-face, Man-underline-face)
2224 (Man-reverse-face): Remove variables.
2225 (Man-overstrike, Man-underline, Man-reverse): New faces.
2226 (Man-fontify-manpage): Use them instead of the variables.
2227 (Man-cleanup-manpage): Comment change.
2228 (Man-ansi-color-map): New variable.
2229 (Man-fontify-manpage): Use it.
2230 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2232 Implement ANSI SGR parameters 22-27 (bug#12146).
2233 * ansi-color.el (ansi-colors): Doc fix.
2234 (ansi-color-context, ansi-color-context-region): Doc fix.
2235 (ansi-color--find-face): New function.
2236 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2237 Rename the local variable `face' to `codes' since it is now a list of
2238 ansi codes. Doc fix.
2239 (ansi-color-get-face): Remove.
2240 (ansi-color-parse-sequence): New function, derived from
2241 ansi-color-get-face.
2242 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2245 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2247 * subr.el (read-passwd): Allow use from a minibuffer.
2249 2012-08-14 Eli Zaretskii <eliz@gnu.org>
2251 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2252 inside comments and strings as identifiers.
2254 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2255 expression to evaluate. This allows to evaluate expressions with
2256 embedded whitespace.
2257 (gud-tooltip-tips): Add a blank before the newline in the
2258 message-box text, for the benefit of message-box emulation on
2261 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2262 messages from GDB, pop them up in a tooltip to give feedback to
2264 (gdb-tooltip-print-1): Quote the expression to evaluate.
2265 This allows to evaluate expressions with embedded whitespace.
2266 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2267 if the TTY name is nil or empty (which happens when communicating
2268 with the inferior via pipes, e.g. on MS-Windows).
2269 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2270 don't send that to the GUD buffer.
2272 2012-08-14 Glenn Morris <rgm@gnu.org>
2274 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2275 Optimize away setq-default with no args, as for setq. (Bug#12195)
2277 2012-08-14 Chong Yidong <cyd@gnu.org>
2279 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2281 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2284 2012-08-14 Glenn Morris <rgm@gnu.org>
2286 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2288 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
2290 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2291 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2292 Use cached shell name.
2294 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2296 * progmodes/python.el (python-shell-send-string):
2297 (python-shell-send-setup-code): Do not use `format' with `message'.
2299 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2301 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2302 (ruby-percent-literal-beg-re): New constant.
2303 (ruby-syntax-general-delimiters-goto-beg): Rename to
2304 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2305 (ruby-syntax-propertize-general-delimiters): Rename to
2306 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2307 popular term. Adjust comments everywhere.
2308 (ruby-syntax-propertize-percent-literal): Only propertize when not
2309 inside a simple string or comment. When the literal is unclosed,
2310 leave the text after it unpropertized.
2311 (ruby-syntax-methods-before-regexp): New constant.
2312 (ruby-syntax-propertize-function): Use it to recognize regexps.
2313 Don't look at the text after regexp, just use the whitelist.
2315 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2317 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2318 non-nil always load the compiled file if it exists. (Bug#12197)
2320 2012-08-14 Chong Yidong <cyd@gnu.org>
2322 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2323 (hi-lock-set-pattern): When deciding whether to use font lock or
2324 overlays, look at font-lock-mode instead of font-lock-fontified
2326 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2327 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2329 2012-08-14 Daiki Ueno <ueno@unixuser.org>
2331 * subr.el (internal--after-with-selected-window): Fix typo
2334 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2336 Use `completion-table-dynamic' for completion functions.
2337 * progmodes/python.el
2338 (python-shell-completion--do-completion-at-point)
2339 (python-shell-completion--get-completions):
2341 (python-shell-completion-complete-at-point): New function.
2342 (python-completion-complete-at-point): Use it.
2344 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
2346 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2347 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2349 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2351 * subr.el (function-get): Refine `autoload' arg so it can also
2352 autoload functions for gv.el (bug#12191).
2353 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2356 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2357 Prefer pcase-let over destructuring-bind.
2358 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2359 Also, remove whitespace as we go, rather than after accumulating the
2362 * subr.el (internal--before-with-selected-window)
2363 (internal--after-with-selected-window): Fix typo seleted->selected.
2364 (with-selected-window): Adjust callers.
2365 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2367 2012-08-13 Bastien Guerry <bzg@gnu.org>
2369 * window.el (special-display-popup-frame): Minor docstring
2370 enhancement. (Bug#12172)
2372 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2374 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2376 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2379 * files.el (hack-local-variables-filter): Remove useless eval.
2381 2012-08-13 Martin Rudalics <rudalics@gmx.at>
2383 * subr.el (with-selected-window): Fix last change.
2385 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2387 * subr.el (internal--before-with-seleted-window)
2388 (internal--after-with-seleted-window): New functions.
2389 (with-selected-window): Use them, to replace dependency on
2392 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2394 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2395 binding for `newline'.
2396 (ruby-move-to-block): When moving backward, stop at block opening,
2398 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2399 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2400 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2401 `ruby-toggle-block'.
2403 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2405 * ibuffer.el (ibuffer-do-toggle-read-only):
2406 * dired.el (dired-toggle-read-only):
2407 * buff-menu.el (Buffer-menu-toggle-read-only):
2408 * bindings.el (mode-line-toggle-read-only):
2409 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2411 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2413 * descr-text.el (describe-char): Put the overlays over the
2414 "displayed as" character.
2416 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2418 * calc/calc-units.el (math-default-units-table): Give an
2420 (math-put-default-units): Add options to put composite units and
2421 unit systems in the default units table.
2422 (calc-convert-units): Send composite units to
2423 `math-put-default-units' when appropriate.
2425 2012-08-11 Glenn Morris <rgm@gnu.org>
2427 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2429 * tutorial.el (help-with-tutorial):
2430 * emacs-lisp/copyright.el (copyright-update-directory):
2431 * emacs-lisp/autoload.el (autoload-find-generated-file)
2432 (autoload-find-file): Disable local eval: (for insurance).
2434 * files.el (hack-local-variables-filter): If an eval: form is not
2435 known to be safe, and enable-local-variables is :safe, then ignore
2436 the form totally, as is done for non-eval forms. (Bug#12155)
2437 This is CVE-2012-3479.
2439 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2441 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2442 (rx-form): Simplify.
2444 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2446 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2447 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2448 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2449 (ruby-syntax-propertize-function): Adjust for changes in
2450 `ruby-syntax-propertize-heredoc'.
2452 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2454 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2455 binding (use `M-;' instead).
2456 (ruby-singleton-class-p): New function.
2457 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2459 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2461 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2463 2012-08-10 Chong Yidong <cyd@gnu.org>
2465 * progmodes/python.el (python-shell-get-process-name): Don't mess
2466 with same-window-buffer-names.
2468 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2469 (eshell-remove-from-window-buffer-names): Make obsolete.
2470 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2471 (eshell): Just use pop-to-buffer-same-window instead.
2473 2012-08-10 Chong Yidong <cyd@gnu.org>
2475 * bindings.el: Bind M-= back to count-words-region.
2477 * simple.el (count-words-region): Accept a prefix arg for acting
2478 on the entire buffer.
2479 (count-words--buffer-message): New helper function.
2481 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2483 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2484 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2485 (event-start, event-end): Use posn-at-point to return a more
2487 (posnp): New function.
2488 * mouse.el (popup-menu-normalize-position): Use it.
2490 2012-08-10 Masatake YAMATO <yamato@redhat.com>
2492 * mouse.el (popup-menu-normalize-position): New function.
2493 (popup-menu): Use `popup-menu-normalize-position' to normalize
2494 the form for POSITION argument.
2496 * term/x-win.el (x-menu-bar-open):
2497 Use the value returend from (posn-at-point) as position
2498 passed to `popup-menu'.
2500 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2502 * calc/calccomp.el (math-compose-expr): Add extra argument
2503 indicating that parentheses should be put around products in
2504 denominators. Give multiplication precedence over division during
2507 2012-08-09 Chong Yidong <cyd@gnu.org>
2509 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2510 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2511 (Man-untabify-command, manual-program): Convert to defcustom
2514 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2516 * descr-text.el (describe-char): Don't insert extra newlines
2519 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2520 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2522 * align.el (align-region): Delete temporary markers (Bug#10047).
2523 Plus some code cleanups.
2525 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2527 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2528 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2529 (python-shell-internal-last-output): Use make-local-variable
2530 instead of make-variable-buffer-local.
2532 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2534 * progmodes/python.el: Enhancements to forward-sexp.
2535 (python-nav-forward-sexp): Rename from
2536 python-nav-forward-sexp-function.
2537 (python-nav--forward-sexp, python-nav--backward-sexp):
2540 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2542 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2543 modes and simplification modes.
2545 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2547 * delsel.el (delete-selection-pre-hook): Don't propagate the
2548 file-supersession signals (bug#12161).
2550 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2552 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2553 (cl-map-extents): Add compatibility aliases (bug#12135).
2555 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
2557 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2558 tests by `ignore-error'.
2559 (tramp-find-shell): Open also a new shell, when cache is already
2560 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2562 2012-08-08 Juri Linkov <juri@jurta.org>
2564 * bookmark.el: Add `defaults' property to the bookmark record.
2565 (bookmark-current-buffer): Doc fix.
2566 (bookmark-make-record): Add `defaults' property with default values
2567 to the bookmark record.
2568 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2569 with `bookmark-insert-current-bookmark'.
2570 (bookmark-set): Get `defaults' property from the bookmark record
2571 and use it in `read-from-minibuffer'.
2572 (bookmark-insert-current-bookmark): Remove function.
2574 * info.el (Info-bookmark-make-record): Add `defaults' property
2575 with values of canonical Info node name, the current Info file
2576 name and the current Info node name. (Bug#12107)
2578 2012-08-08 Juri Linkov <juri@jurta.org>
2580 * files.el (basic-save-buffer): Use `buffer-name' as the default
2581 of `read-file-name' when buffer is not visiting a file (bug#12128).
2583 2012-08-08 Juri Linkov <juri@jurta.org>
2585 * info.el (Info-isearch-search): Doc fix.
2586 (Info-search): Change search-failed message from "initial node" to
2587 "end of node" (bug#12078).
2588 (Info-isearch-search): Change `isearch-string-state' to
2589 `isearch--state-string'.
2591 2012-08-08 Glenn Morris <rgm@gnu.org>
2593 * language/persian.el: Remove file.
2594 * language/misc-lang.el: Move unique part of persian.el here.
2595 * loadup.el: Remove language/persian.
2597 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2599 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2601 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2603 * progmodes/python.el Fixed defsubst warning.
2604 (python-syntax-context) Rename from python-info-ppss-context.
2605 (python-syntax-context-type): Rename from
2606 python-info-ppss-context-type.
2607 (python-syntax-comment-or-string-p): Rename from
2608 python-info-ppss-comment-or-string-p.
2610 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2612 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2614 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2616 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2617 a defcustom that is quoted with backquote.
2619 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2620 Fix handling of interactive spec when the body uses return.
2621 (math-do-arg-check, math-define-function-body): Use backquote forms.
2622 * calc/calc-ext.el (math-defcache): Likewise.
2623 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2624 * allout.el (allout-new-exposure): Likewise.
2625 * calc/calcalg2.el (math-tracing-integral): Likewise.
2626 * info.el (Info-last-menu-item): Likewise.
2627 * emulation/vip.el (vip-loop): Likewise.
2628 * textmodes/artist.el (artist-funcall): Likewise.
2629 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2630 Construct menu-item directly.
2632 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2635 2012-08-07 Chong Yidong <cyd@gnu.org>
2637 * simple.el (deactivate-mark): Preserve text properties when
2638 saving the primary selection (Bug#8384).
2640 2012-08-07 Kevin Ryde <user42@zip.com.au>
2642 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2643 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2644 and continue processing (Bug#12110).
2646 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2648 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2649 syntax-propertize-function (bug#10095).
2651 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2653 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2654 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2655 describe-function-1.
2656 (describe-function-1): Use them. Move compiler macro after sig.
2657 (help-fns--compiler-macro): Use function-get. Assume we're already in
2658 standard-output. Adjust layout to new call order.
2660 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2661 re-binding a symbol that has a symbol-macro (bug#12119).
2663 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2665 * language/persian.el: New file. (Bug#11812)
2666 * loadup.el: Add language/persian.el.
2668 2012-08-06 Chong Yidong <cyd@gnu.org>
2670 * window.el (window--maybe-raise-frame): New function.
2671 (window--display-buffer): Split off from here.
2672 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2673 (display-buffer-pop-up-window, display-buffer-use-some-window):
2674 Obey an inhibit-switch-frame action alist entry.
2675 (display-buffer): Update doc.
2677 * replace.el (occur-after-change-function): Avoid losing focus by
2678 using the inhibit-switch-frame display parameter (Bug#12139).
2680 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2682 Make internal shell process buffer names start with space.
2683 * progmodes/python.el (python-shell-make-comint): Add optional
2685 (run-python-internal): Use it.
2686 (python-shell-internal-get-or-create-process): Check for new
2687 internal buffer names.
2689 2012-08-06 Glenn Morris <rgm@gnu.org>
2691 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
2692 Do less getting and setting of environment variables.
2694 2012-08-05 Chong Yidong <cyd@gnu.org>
2696 * proced.el (proced): Add substitution string to docstring to
2697 trigger autoloading of the proced library on C-h f (Bug#1768).
2699 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2700 Don't show defvars which have no second argument (Bug#8638).
2702 * imenu.el (imenu-generic-expression): Move documentation here
2703 from imenu--generic-function.
2704 (imenu--generic-function): Refer to imenu-generic-expression.
2706 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
2708 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2709 indentation declaration.
2710 (viper-loop): Add indentation declaration (Bug#7025).
2712 2012-08-05 Chong Yidong <cyd@gnu.org>
2714 * help-fns.el (describe-variable): Add hyperlink for
2715 directory-local variables files. Improve buffer-local and
2716 permanent-local reporting; suggested by MON KEY (Bug#6644).
2718 * help-mode.el (help-dir-local-var-def): New button type.
2720 * files.el (kill-buffer-hook): Provide a defvar.
2722 2012-08-05 Glenn Morris <rgm@gnu.org>
2724 * eshell/esh-ext.el (eshell/addpath):
2725 Also update eshell-path-env. (Bug#12013)
2727 2012-08-05 Chong Yidong <cyd@gnu.org>
2729 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2731 * fringe.el (fringe-styles): Add docstring.
2732 (fringe--check-mode): New function.
2733 (set-fringe-mode, set-fringe-style): Use it.
2734 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2736 * files.el (set-auto-mode): Fix invalid setq call.
2738 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2740 * isearch.el: Misc simplification; use defstruct.
2741 (isearch-mode-map): Dense maps now work like sparse ones.
2742 (isearch--state): New defstruct.
2743 (isearch-string-state, isearch-message-state, isearch-point-state)
2744 (isearch-success-state, isearch-forward-state)
2745 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2746 (isearch-wrapped-state, isearch-barrier-state)
2747 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2748 replaced by defstruct's accessors.
2749 (isearch--set-state): Rename from isearch-top-state and change
2751 (isearch-push-state): Use new isearch--get-state.
2752 (isearch-toggle-word): Disable regexp when enabling word.
2753 (isearch-message-prefix): Remove unused arg _c-q-hack.
2754 (isearch-message-suffix): Remove unused arg _ellipsis.
2756 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2758 * simple.el (list-processes--refresh): For a server use :host or
2759 :local as the address.
2760 (list-processes): Doc fix.
2762 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
2764 * lisp/mpc.el: Support password in host argument.
2765 (mpc--proc-connect): Parse and use new password element.
2766 Set mpc-proc variable instead of returning process.
2767 (mpc-proc): Adjust accordingly.
2769 2012-08-03 Eli Zaretskii <eliz@gnu.org>
2771 * whitespace.el (whitespace-display-mappings): Use Unicode
2772 codepoints, instead of emacs-mule codepoints. See
2773 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2776 * files.el (file-truename): Don't skip symlink-chasing part on
2777 windows-nt. Incorporate the resolution of 8+3 short aliases on
2778 Windows into the loop that recursively chases symlinks.
2779 Compare directory and its parent case-insensitively on MS-Windows and
2782 2012-08-03 Chong Yidong <cyd@gnu.org>
2784 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2786 * sort.el (sort-regexp-fields): Doc fix.
2788 2012-08-03 Tassilo Horn <tsdh@gnu.org>
2790 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2791 labels regex position point at the expected place.
2793 2012-08-03 MON KEY <monkey@sandpframing.com>
2795 * net/imap.el (imap-interactive-login, imap-authenticate)
2796 (imap-mailbox-lsub, imap-mailbox-list)
2797 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2798 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2799 (imap-parse-response): Doc fix.
2801 2012-08-03 João Távora <joaotavora@gmail.com>
2803 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2804 if sexp scanning does not move point (Bug#5734).
2806 2012-08-02 Tassilo Horn <tsdh@gnu.org>
2808 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2809 Add listings, minted, and ctable packages.
2810 (reftex-label-alist-builtin): Move listings, minted, and ctable
2811 entries before LaTeX.
2812 (reftex-label-alist): Docfix.
2814 2012-08-02 Bastien Guerry <bzg@gnu.org>
2816 * replace.el (occur): Fix docstring (bug#12122).
2818 2012-08-02 Glenn Morris <rgm@gnu.org>
2820 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2822 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2824 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2825 * international/mule-cmds.el: Create
2826 inactivate-current-input-method-function as an obsolete alias for
2827 deactivate-current-input-method-function. See Katsumi Yamaoka in
2828 <http://bugs.gnu.org/10150#46>.
2830 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2832 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2835 2012-08-01 Glenn Morris <rgm@gnu.org>
2837 * progmodes/autoconf.el (autoconf-definition-regexp):
2838 Add AH_TEMPLATE, adjust submatch numbering.
2839 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2840 (autoconf-current-defun-function): Update for above change.
2841 (autoconf-current-defun-function): First skip to end of current word.
2843 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2845 * calendar/cal-html.el (cal-html-insert-agenda-days):
2846 Fix typo. (Bug#12018)
2848 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2850 Shell processes: enhancements to startup and CEDET compatibility.
2851 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2852 (python-shell-make-comint): accept-process-output at startup.
2853 (run-python-internal): Set inferior-python-mode-hook to nil.
2854 (python-shell-internal-get-or-create-process): call sit-for.
2855 (python-preoutput-result): Add obsolete alias.
2856 (python-shell-internal-send-string): Use it.
2857 (python-shell-send-setup-code): Remove call to
2858 accept-process-output.
2860 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2862 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2865 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2867 * calc-mode.el (calc-basic-simplification-mode): Rename from
2868 `calc-limited-simplification-mode'.
2869 (calc-alg-simplification-mode): New function.
2870 (calc-set-simplify-mode): Adjust message.
2872 * calc.el (calc-set-mode-line): Adjust mode line display for
2873 basic simplification mode.
2875 * calc-help.el (calc-m-prefix-help): Update help message.
2877 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2878 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2880 2012-07-31 Bastien Guerry <bzg@gnu.org>
2882 * man.el (man): Fix comment. (bug#12101)
2884 2012-07-31 Martin Rudalics <rudalics@gmx.at>
2886 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2887 Don't return a non-nil value when no suitable buffer was found.
2889 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2891 * progmodes/python.el (run-python-internal): Disable font lock for
2894 2012-07-30 Stefan Merten <smerten@oekonux.de>
2896 * rst.el: Silence `checkdoc-ispell'.
2897 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2898 (rst-official-version, rst-official-cvs-rev)
2899 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2900 (rst-mode-map): New key binding.
2902 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2904 Update .PHONY listings in makefiles.
2905 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2906 autoloads, update-subdirs, updates, bzr-update, update-authors,
2907 compile-onefile, compile-calc, backup-compiled-files,
2908 compile-after-backup, compile-one-process, mh-autoloads,
2909 bootstrap-clean, distclean, maintainer-clean.
2911 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2913 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2914 (calc-set-mode-line): Don't display "AlgSimp ".
2916 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2917 (calc-lim-simplify-mode): New function.
2918 (calc-set-simplify-mode): Default to 'alg.
2919 (calc-default-simplify-mode): Make algebraic simplifications
2922 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2923 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2925 * calc/calc-help.el (calc-m-prefix-help): Change messages to
2926 indicate new simplification modes.
2928 * calc/README: Mention new default simplification mode.
2930 * calc/calc.el (math-normalize-error): New variable.
2931 (math-normalize): Set `math-normalize-error' to t
2932 when there's an error.
2934 * calc/calc-alg.el (math-simplify): Don't simplify when
2935 `math-normalize' returns an error.
2937 2012-07-29 Eli Zaretskii <eliz@gnu.org>
2939 * international/mule-cmds.el (set-locale-environment): Revert last
2940 change, since display-graphic-p returns nil when this function is
2941 called during startup. Instead...
2943 * term/w32console.el (terminal-init-w32console): ...setup the
2944 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2946 2012-07-29 Juri Linkov <juri@jurta.org>
2948 * simple.el (goto-line): Don't display default line number in the
2949 prompt because it should be displayed by `read-number' (bug#9952).
2950 Add the current line number to the defaults of `goto-line' to
2951 allow its easier modification by users with `M-n' (bug#9201).
2953 * subr.el (read-number): Support multiple default values like in
2954 other minibuffer reading functions. Replace `read' with
2955 `string-to-number' for consistency with `number-to-string'.
2957 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2959 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2960 * emulation/viper-init.el (viper-deactivate-input-method-action):
2961 Rename from viper-inactivate-input-method-action.
2962 (viper-deactivate-input-method):
2963 Rename from viper-inactivate-input-method.
2964 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2965 * international/mule-cmds.el (deactivate-input-method):
2966 Rename from inactivate-input-method.
2967 Also run input-method-deactivate-hook.
2968 (deactivate-current-input-method-function):
2969 Rename from inactivate-current-input-method-function.
2970 (input-method-deactivate-hook): New hook.
2971 (input-method-inactivate-hook): Mark obsolete.
2972 (inactivate-input-method): Mark obsolete.
2974 * international/quail.el (quail-activate):
2975 Also run quail-deactivate-hook.
2976 (quail-deactivate): Rename from quail-inactivate.
2977 * international/robin.el (robin-activate):
2978 Also run robin-deactivate-hook.
2979 (robin-deactivate): Rename from robin-inactivate.
2981 2012-07-29 Chong Yidong <cyd@gnu.org>
2983 * simple.el (indicate-copied-region): New function.
2984 (kill-ring-save): Split off from here.
2986 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2987 (kill-rectangle): Set deactivate-mark to t on read-only error.
2989 * register.el (copy-to-register, copy-rectangle-to-register):
2990 Deactivate the mark, and use indicate-copied-region (Bug#10056).
2991 (append-to-register, prepend-to-register):
2992 Call 2012-07-29 Juri Linkov <juri@jurta.org>
2994 * simple.el (async-shell-command-buffer): New defcustom.
2995 (shell-command): Use it. (Bug#4719)
2997 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2999 * international/mule-cmds.el (set-locale-environment): In a
3000 console session on MS-Windows, set up keyboard and terminal
3001 encoding from the OEM codepage, not the ANSI codepage.
3004 2012-07-28 Chong Yidong <cyd@gnu.org>
3006 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3009 2012-07-28 Leo Liu <sdl.web@gmail.com>
3011 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3012 the alist (bug#12029).
3014 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3016 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3017 (compile-always, compile-first)
3018 ($(lisp)/calendar/cal-loaddefs.el)
3019 ($(lisp)/calendar/diary-loaddefs.el)
3020 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3021 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3022 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3023 instead of on update-subdirs.
3024 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3026 2012-07-28 Chong Yidong <cyd@gnu.org>
3028 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3029 directory if vc-deduce-backend returns nil (Bug#7350).
3031 * simple.el (delete-trailing-lines): New option.
3032 (delete-trailing-whitespace): Obey it (Bug#11879).
3034 2012-07-28 David Engster <deng@randomsample.de>
3036 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3037 Explanation of new 'symbol-qnames feature in doc-strings.
3038 (xml-maybe-do-ns): Return expanded names as plain symbols if
3039 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3040 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3042 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3044 Consistent completion in inferior python with emacs -nw.
3045 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3046 binding in inferior-python-mode-map with "\t".
3047 (python-shell-completion-complete-at-point)
3048 (python-completion-complete-at-point): Remove interactive spec.
3050 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3052 * calc/calccomp.el (math-compose-expr): Undo previous change.
3054 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3056 * progmodes/python.el (python-mode-map): Add keybinding for
3058 (python-shell-make-comint): Fix pop-to-buffer call.
3059 (run-python): Autoload. New arg SHOW.
3060 (python-shell-get-or-create-process): Do not pop python process
3063 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3065 * notifications.el (notifications-on-action-signal)
3066 (notifications-on-closed-signal): Use also the bus address for the map.
3067 (notifications-notify, notifications-close-notification)
3068 (notifications-get-capabilities): Add optional argument BUS.
3070 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3072 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3073 Add support for the lstlisting and minted environments, and for the
3075 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3076 labels written in keyvals syntax.
3078 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3080 * calc/calccomp.el (math-compose-expr): Use parentheses when
3081 there is a product in the denominator of a fraction.
3083 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3085 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3086 ($(lisp)/calendar/diary-loaddefs.el)
3087 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3088 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3089 Fixes failures in parallel bootstrap because subdirs.el is being
3090 rewritten while the autoload files are built at the same time,
3091 which needs to load subdirs.el.
3093 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3095 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3096 (mouse-drag-line): Don't exit tracking when a switch-frame or
3097 switch-window event occurs (Bug#12006).
3099 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3101 * mouse.el (popup-menu): Fix last change.
3103 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3105 Autoload from Lisp with more care. Follow aliases when looking for
3106 function properties.
3107 * subr.el (autoloadp): New function.
3108 (symbol-file): Use it.
3109 (function-get): New function.
3110 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3112 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3113 (lisp-indent-function):
3114 * emacs-lisp/gv.el (gv-get):
3115 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3116 * emacs-lisp/byte-opt.el (byte-optimize-form):
3117 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3118 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3120 * emacs-lisp/cl.el: Don't propagate function properties any more.
3122 * speedbar.el (speedbar-add-localized-speedbar-support):
3123 * emacs-lisp/disass.el (disassemble-internal):
3124 * desktop.el (desktop-load-file):
3125 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3126 (describe-function-1):
3127 * emacs-lisp/find-func.el (find-function-noselect):
3128 * emacs-lisp/elp.el (elp-instrument-function):
3129 * emacs-lisp/advice.el (ad-has-proper-definition):
3130 * apropos.el (apropos-safe-documentation, apropos-macrop):
3131 * emacs-lisp/debug.el (debug-on-entry):
3132 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3133 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3134 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3136 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3138 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3139 function, not an obsolete variable (Bug#12046).
3141 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3143 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3145 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3147 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3148 window only if it is still live (Bug#12034).
3150 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3152 * subr.el (redirect-frame-focus): Add advertised calling
3153 convention (Bug#12030).
3155 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3157 Prefer typical American spelling for "acknowledgment".
3158 * vc/add-log.el (change-log-acknowledgment): Rename from
3159 change-log-acknowledgement, with an alias for the old name.
3161 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3163 * calc-alg.el (math-simplify-divide): Don't cross multiply
3164 in an equation when the lhs is a variable.
3166 2012-07-24 Julien Danjou <julien@danjou.info>
3168 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3171 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3173 * startup.el (command-line): Don't display an empty user name in
3174 the error message about non-existent home directory, when
3175 init-file-user was set to an empty string. See
3176 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3177 for the details and context.
3179 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3181 * ses.el (ses-cell-formula-aset): New macro.
3182 (ses-cell-references-aset): New macro.
3183 (ses-cell-p): New function.
3184 (ses-rename-cell): Do no longer rely on complex operations like
3185 ses-cell-set-formula or ses-set-cell to change the cell and handle
3186 the undo at the same time, but rather use lower level new macros
3187 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3188 the undo directly. Refresh the mode line.
3190 2012-07-21 Leo Liu <sdl.web@gmail.com>
3192 * progmodes/cc-cmds.el (c-defun-name):
3193 Use match-string-no-properties instead for consistency.
3195 2012-07-20 Leo Liu <sdl.web@gmail.com>
3197 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3200 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3202 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3204 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3205 * progmodes/bug-reference.el, misearch.el: Provide themselves
3208 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3209 of narrowed buffer (bug#11966).
3211 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3213 * ses.el (ses-rename-cell): Set new name also in reference list of
3214 cells of which the renamed cell depends.
3216 2012-07-20 Masatake YAMATO <yamato@redhat.com>
3218 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3219 to check whether menu-bar is shown or not. If not shown,
3220 show the menu-bar as a popup menu instead of using tmm.
3221 * mouse.el (popup-menu): Accept `point' as `position' argument.
3223 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3225 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3226 up inside string symbol literal (bug#11923).
3228 2012-07-20 Eli Zaretskii <eliz@gnu.org>
3230 * startup.el (fancy-startup-text): Read the whole tutorial, not
3231 just its first 256 bytes. Prevents gibberish in display of the
3234 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3236 Drop idle buffer compaction due to an absence of the
3238 * compact.el: Remove.
3240 2012-07-19 Sam Steingold <sds@gnu.org>
3242 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3243 vc-bzr-pull & vc-bzr-merge-branch.
3244 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3245 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3246 for consistency with compilation-error-regexp-alist.
3247 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3248 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3249 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3250 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3252 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3254 * emacs-lisp/chart.el: Use lexical-binding.
3255 (chart-emacs-storage): Don't hardcode the list of entries.
3257 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3259 Next round of tweaks caused by Fgarbage_collect changes.
3260 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3262 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3264 Compact buffers when idle.
3265 * compact.el: New file.
3267 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3269 * subr.el (eventp): Presume that if it looks vaguely like an event,
3270 it's an event (bug#10190).
3272 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3274 Enhancements to ppss related code (thanks Stefan).
3275 * progmodes/python.el (python-indent-context)
3276 (python-indent-calculate-indentation, python-indent-dedent-line)
3277 (python-indent-electric-colon, python-nav-forward-block)
3278 (python-mode-abbrev-table)
3279 (python-info-assignment-continuation-line-p): Simplify checks
3281 (python-info-continuation-line-p): Cleanup.
3282 (python-info-ppss-context): Do not catch 'quote.
3283 (python-info-ppss-context-type)
3284 (python-info-ppss-comment-or-string-p): Simplify.
3286 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3288 * progmodes/python.el: Enhancements to eldoc support.
3289 (python-info-current-symbol): New function.
3290 (python-eldoc-at-point): Use python-info-current-symbol.
3291 (python-info-current-defun): Fix cornercase on first defun scan.
3292 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3293 and signal error when no inferior python process is available.
3295 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3297 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3298 assume it's always t.
3299 (vc-git-registered): Remove caching, the function is only called
3301 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3303 2012-07-18 Chong Yidong <cyd@gnu.org>
3305 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3307 * simple.el (count-words): Report on narrowing (Bug#9959).
3309 * bindings.el: Bind M-= to count-words.
3311 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3313 2012-07-18 Masatake YAMATO <yamato@redhat.com>
3315 * progmodes/sh-script.el (sh-imenu-generic-expression):
3316 Capture a function with `function' keyword and without parentheses
3317 like "function FOO" (bug#11856).
3319 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3321 * window.el (split-window-sensibly): Make WINDOW argument
3324 2012-07-18 Chong Yidong <cyd@gnu.org>
3326 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3328 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3329 and make C-x 8 RET exit isearch (Bug#11439).
3331 * international/iso-transl.el: Move isearch-mode-map key
3332 definitions to isearch.el.
3334 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3336 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3337 (eieio-defclass): Use gv-define-setter when possible.
3339 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3341 Reflect recent changes in Fgarbage_collect.
3342 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3343 reflect new format of data returned by Fgarbage_collect.
3345 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3347 New utility functions + python-info-ppss-context fix (Bug#11910).
3348 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3349 (python-info-ppss-comment-or-string-p): New functions.
3350 (python-info-ppss-context): Small fix for string check.
3352 2012-07-17 Juri Linkov <juri@jurta.org>
3354 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3355 (dired-do-async-shell-command): Don't add `*' at the end of the
3356 command (Bug#11815).
3357 (dired-do-shell-command): Doc fix.
3358 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3359 Join the individual commands using either "&" or ";" as the
3360 separator depending on the values of these trailing characters.
3361 At the end re-add the trailing "&". (Bug#10598)
3363 * simple.el (async-shell-command): Sync the interactive spec with
3364 `shell-command'. Doc fix.
3365 (shell-command): Doc fix.
3367 2012-07-17 Juri Linkov <juri@jurta.org>
3369 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3371 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3373 Final renames and doc fixes for movement commands (bug#11899).
3374 * progmodes/python.el (python-nav-beginning-of-statement):
3375 Rename from python-nav-statement-start.
3376 (python-nav-end-of-statement): Rename from
3377 python-nav-statement-end.
3378 (python-nav-beginning-of-block): Rename from
3379 python-nav-block-start.
3380 (python-nav-end-of-block): Rename from python-nav-block-end.
3382 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3384 * progmodes/python.el (python-shell-send-string-no-output):
3385 Allow accept-process-output to quit, keeping shell process ready for
3386 future interactions (Bug#11868).
3388 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3390 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3392 * emacs-lisp/elint.el (elint-find-args-in-code):
3393 Use help-function-arglist, so as to handle lexical byte-code.
3395 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3398 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3400 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3401 Avoid spuriously marking the buffer as modified because of c-is-sws.
3403 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3404 as not-a-comment (bug#11946).
3406 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3407 for uninterned vars.
3409 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3410 Use read-event since we don't really want to read chars but bytes.
3412 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3413 $$..$$ but also $..$ using regexps (bug#11953).
3414 Use tex-verbatim for \url and \path.
3415 (tex-font-lock-keywords): Define as defconst like the others.
3416 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3418 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3420 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3421 alias for insert-char.
3423 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3425 * progmodes/python.el: Simplified imenu implementation.
3426 (python-nav-jump-to-defun): Remove command.
3427 (python-mode-map): Use `imenu' instead.
3428 (python-nav-list-defun-positions-cache)
3429 (python-imenu-include-defun-type, python-imenu-make-tree)
3430 (python-imenu-subtree-root-label, python-imenu-index-alist):
3432 (python-nav-list-defun-positions, python-nav-read-defun)
3433 (python-imenu-tree-assoc, python-imenu-make-element-tree)
3434 (python-imenu-make-tree, python-imenu-create-index):
3436 (python-mode): Update to interact with imenu by setting
3437 `imenu-extract-index-name-function' only.
3439 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3441 * progmodes/python.el: Enhancements to navigation commands.
3442 (python-nav-backward-sentence)
3443 (python-nav-forward-sentence): Remove.
3444 (python-nav-backward-statement, python-nav-forward-statement)
3445 (python-nav-statement-start, python-nav-statement-end)
3446 (python-nav-backward-block, python-nav-forward-block)
3447 (python-nav-block-start, python-nav-block-end)
3448 (python-nav-forward-sexp-function)
3449 (python-info-current-line-comment-p)
3450 (python-info-current-line-empty-p): New functions.
3451 (python-indent-context): Use `python-nav-statement-start'.
3453 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
3455 * eshell/em-ls.el (eshell/ls): Use `apply'.
3457 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3458 multi-hops, instead of Tramp internals.
3460 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3462 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3463 when F1 and F2 are located on different hosts.
3465 2012-07-14 Chong Yidong <cyd@gnu.org>
3467 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3468 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3469 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3470 (xterm-mouse--read-event-sequence-1000)
3471 (xterm-mouse--read-event-sequence-1006): New functions. For old
3472 mouse protocol, handle M-mouse-X events correctly.
3473 (xterm-mouse-event): New arg specifying mouse protocol.
3474 (turn-on-xterm-mouse-tracking-on-terminal)
3475 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3476 sequence to toggle extended coordinates on newer XTerms.
3477 This appears to be harmless on terminals which do not support this.
3479 2012-07-14 Leo Liu <sdl.web@gmail.com>
3481 Add fringe bitmap indicators for flymake. (Bug#11253)
3482 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3483 (flymake-make-overlay): New arg BITMAP.
3484 (flymake-error-bitmap, flymake-warning-bitmap)
3485 (flymake-fringe-indicator-position): New user variables.
3487 * fringe.el: New bitmap exclamation-mark.
3489 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3491 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3494 2012-07-14 Chong Yidong <cyd@gnu.org>
3496 * electric.el (electric-pair-post-self-insert-function): Fix pair
3497 insertion in empty-region case (Bug#11520).
3499 2012-07-14 Chong Yidong <cyd@gnu.org>
3501 * bindings.el: Consolidate ctl-x-r-map bindings.
3502 Bind copy-rectangle-as-kill to C-x r w.
3504 * rect.el, register.el: Move bindings to bindings.el.
3506 2012-07-14 Reuben Thomas <rrt@sc3d.org>
3508 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3510 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3512 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3514 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
3516 * bindings.el (top): Use `mapc' instead of `mapcar'.
3518 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3520 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
3522 * progmodes/sql.el (sql-comint): Suppress the check for program on
3523 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3526 2012-07-13 Chong Yidong <cyd@gnu.org>
3528 * bindings.el: Assign a non-nil permanent-local property to
3529 per-buffer variables which lack a default value (Bug#11930).
3531 * help-fns.el (describe-variable): In the "automatically becomes
3532 local" notice, take note of permanent-local variables.
3534 2012-07-13 Chong Yidong <cyd@gnu.org>
3536 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3537 to allow printing the message when called from Lisp.
3539 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3540 Remove toggle-read-only.
3542 * bs.el (bs-toggle-readonly):
3543 * buff-menu.el (Buffer-menu-toggle-read-only):
3544 Remove with-no-warnings around toggle-read-only.
3546 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3547 Remove with-no-warnings around toggle-read-only.
3548 (ffap-read-only, ffap-read-only-other-window)
3549 (ffap-read-only-other-frame): Callers changed.
3551 * help-mode.el: Don't require view package.
3552 (help-mode-finish): Set buffer-read-only instead of calling
3555 * bindings.el (mode-line-toggle-read-only):
3556 * dired.el (dired-toggle-read-only):
3557 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3558 with non-nil second arg.
3560 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3561 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3564 2012-07-12 Eli Zaretskii <eliz@gnu.org>
3566 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3569 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3571 More CL cleanups and reduction of use of cl.el.
3572 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3573 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3574 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3575 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3576 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3577 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3578 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3579 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3580 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3581 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3582 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3583 * eshell/em-cmpl.el, eshell/em-banner.el:
3584 * calendar/parse-time.el: Use cl-lib.
3585 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3586 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3587 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3588 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3589 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3590 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3591 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3592 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3593 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3594 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3595 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3596 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3597 `lambda' rather than with `quote'.
3598 (eshell-do-opt): Adjust accordingly.
3599 (eshell-process-option): Simplify.
3600 * eshell/esh-var.el:
3601 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3602 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3603 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3604 to `pcase--dontcare'.
3605 * emacs-lisp/cl.el (labels): Mark obsolete.
3606 (cl--letf, letf): Move to cl-lib.
3607 (cl--letf*, letf*): Remove.
3608 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3609 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3610 (cl-progv): Rewrite.
3611 (cl--letf, cl-letf): Move from cl.el.
3612 (cl-letf*): New macro.
3613 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3615 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
3617 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3619 2012-07-11 Chong Yidong <cyd@gnu.org>
3621 * vc/log-edit.el (log-edit-vc-backend): New variable.
3622 (log-edit): Doc fix.
3624 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3625 argument of log-edit to set up all local variables.
3626 (vc-start-logentry): New optional arg specifying VC backend.
3628 * vc/vc.el (vc-checkin): Use it.
3629 (vc-deduce-fileset): Handle Log Edit buffers.
3630 (vc-diff): Make first argument optional too.
3632 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3634 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
3636 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3637 command, just in case. The function is not needed anymore.
3638 (eshell-external-command): Do not call `eshell-remote-command'.
3640 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3642 Reduce use of (require 'cl).
3643 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3644 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3645 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3646 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3647 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3648 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3649 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3650 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3651 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3652 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3653 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3654 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3655 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3656 (byte-compile-unfold-bcf, byte-compile-check-variable):
3657 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3658 (byte-compile-nilconstp):
3659 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3660 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3662 * emacs-lisp/gv.el (cond): Make it a valid place.
3663 (if): Simplify slightly.
3665 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3666 (pcase--self-quoting-p): New function.
3667 (pcase--u1): Use it.
3669 2012-07-10 Glenn Morris <rgm@gnu.org>
3671 * emacs-lisp/authors.el (authors-fixed-entries):
3672 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3674 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3676 Rename configure.in to configure.ac (Bug#11603).
3677 * emacs-lisp/authors.el (authors-canonical-file-name):
3678 * progmodes/autoconf.el (autoconf-mode):
3679 Prefer configure.ac to configure.in.
3681 2012-07-08 Chong Yidong <cyd@gnu.org>
3683 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3684 Implement the mouse-1-click-follows-link handling properly.
3686 * info.el (Info-link-keymap): Use follow-link mechanism for
3687 header-line links (Bug#374).
3689 * simple.el (deactivate-mark): Do not set the primary selection
3690 if another program has acquired it (Bug#11772).
3692 2012-07-07 Kevin Ryde <user42@zip.com.au>
3694 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3695 (woman-decode-region): Replace escaped-escapes without destroying
3696 bold or underline (Bug#11552).
3697 (woman2-process-escapes): Handle nofill regions (Bug#11591).
3699 2012-07-07 Chong Yidong <cyd@gnu.org>
3701 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
3702 (interprogram-cut-function, interprogram-paste-function):
3703 Mention that we typically mean the clipboard.
3705 2012-07-06 Glenn Morris <rgm@gnu.org>
3707 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3709 * files.el (toggle-read-only): Restrict message to interactive use.
3711 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
3713 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3715 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3717 2012-07-06 Glenn Morris <rgm@gnu.org>
3719 * Makefile.in (compile-one-process): Rename from "recompile".
3721 * Makefile.in (bzr-update): "compile" is the same as "recompile
3722 autoloads", but parallelizable, so use that instead.
3724 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3726 * window.el (quit-window): Always restore window height when
3727 it's saved in quit-restore parameter (Bug#11810).
3729 2012-07-06 Glenn Morris <rgm@gnu.org>
3731 * simple.el (kill-whole-line): Doc tweak.
3733 2012-07-06 Eli Zaretskii <eliz@gnu.org>
3735 * files.el (file-relative-name): Compare file names
3736 case-insensitively if on MS-Windows or MS-DOS, or if
3737 read-file-name-completion-ignore-case is non-nil. Don't use
3738 case-fold-search for this purpose. (Bug#11827)
3740 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3742 * calendar/cal-dst.el (calendar-current-time-zone):
3743 Return calendar-current-time-zone-cache if non-nil.
3745 2012-07-17 Masatake YAMATO <yamato@redhat.com>
3746 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3748 * calendar/cal-dst.el (calendar-current-time-zone):
3749 Return calendar-current-time-zone-cache if non-nil.
3751 2012-07-06 Glenn Morris <rgm@gnu.org>
3753 * Makefile.in (cvs-update): Remove old alias.
3755 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
3757 Sync with Tramp 2.2.6-pre.
3759 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3760 compatible declaration.
3762 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3763 Protect `list-load-path-shadows' call.
3765 * net/tramp-compat.el (top): Require packages, which aren't
3766 autoloaded anymore for XEmacs. Protect call of
3767 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3768 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3769 it hurts at least for SXEmacs.
3770 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3771 standard-value for `temporary-file-directory'.
3773 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3774 Redirect stderr to /dev/null.
3775 (tramp-sh-handle-write-region): uid and gid can be floats.
3776 Reported by Russell Sim <russell.sim@gmail.com>.
3777 (tramp-sh-handle-vc-registered): Hide errors.
3778 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3779 and `start-file-process'.
3780 (tramp-maybe-open-connection): Check also whether `non-essential'
3783 2012-07-04 Chong Yidong <cyd@gnu.org>
3785 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3786 (xml-parse-tag): Likewise, and avoid changing entity tables.
3787 (xml-syntax-table): Define from scratch, making sure not to give
3788 x2000 and other Unicode spaces whitespace syntax, since those are
3790 (xml-parse-fragment): Delete unused function.
3791 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3792 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3793 (xml-entity-ref, xml-pe-reference-re)
3794 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3795 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3796 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3797 (xml-entity-value-re): Use syntax references in regexps where
3798 possible; no need to define inside a let-binding.
3799 (xml-parse-dtd): Use xml-pe-reference-re.
3800 (xml-entity-or-char-ref-re): New defconst.
3801 (xml-parse-string, xml-substitute-special): Use it.
3803 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3805 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3806 (find-file--read-only): New function.
3807 (find-file-read-only, find-file-read-only-other-window)
3808 (find-file-read-only-other-frame): Use it.
3809 (insert-file-contents-literally): Don't `fset'.
3810 (get-free-disk-space): Use locate-dominating-file.
3812 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3813 function is already compiled.
3815 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3817 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
3819 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3820 files on the same host.
3822 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3824 * help-fns.el (describe-function-1): Only call
3825 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3827 2012-07-03 Chong Yidong <cyd@gnu.org>
3829 * xml.el: Protect parser against XML bombs.
3830 (xml-entity-expansion-limit): New variable.
3831 (xml-parse-string, xml-substitute-special): Use it.
3832 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3834 2012-07-03 Glenn Morris <rgm@gnu.org>
3836 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3837 Allow linking to specific messages in debbugs reports (eg 123#5).
3839 2012-07-02 Chong Yidong <cyd@gnu.org>
3841 * xml.el: Fix entity and character reference expansion, allowing
3842 them to expand into markup as per XML spec.
3843 (xml-default-ns): New variable.
3844 (xml-entity-alist): Use XML spec definitions for lt and amp.
3845 (xml-parse-region): Make first two arguments optional.
3846 Discard text properties.
3847 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3848 All callers changed.
3849 (xml-parse-tag): Call xml-parse-tag-1. For backward
3850 compatibility, this function should not modify buffer contents.
3851 (xml-parse-tag-1): Fix opening-tag regexp.
3852 (xml-parse-string): Rewrite, handling entity and character
3853 references properly.
3854 (xml--entity-replacement-text): Signal an error if a parameter
3855 entity is undefined.
3857 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3859 * comint.el (comint-output-filter): Filter out repeated prompts.
3861 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3862 and file-name-absolute-p.
3863 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3866 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3869 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3870 Rename from byte-compile--refiy-function. All uses changed.
3872 2012-07-01 Chong Yidong <cyd@gnu.org>
3874 * xml.el (xml--parse-buffer): New function. Move most of
3875 xml-parse-region here.
3876 (xml-parse-region): Copy region into a temporary buffer, since
3877 parameter entity substitution requires changing buffer contents.
3878 Use xml--parse-buffer.
3879 (xml-parse-file): Use xml--parse-buffer.
3880 (xml-parse-dtd): Make parameter entity substitution work right.
3881 Use proper regexps for ELEMENT declarations (Bug#7172).
3883 2012-06-30 Glenn Morris <rgm@gnu.org>
3885 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3887 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3888 Remove outdated and unnecessary dbus declarations.
3890 2012-06-30 Eli Zaretskii <eliz@gnu.org>
3892 * emacs-lisp/timer.el (timer-until): Subtract results of
3893 float-time, instead of taking float-time of the result of
3894 time-subtract, since float-time signals an error for negative time
3897 2012-06-30 Chong Yidong <cyd@gnu.org>
3899 * xml.el (xml-*-re): Convert defvars into defconsts, and
3900 eval-and-compile them so eval-and-compile works on derivatives.
3901 (xml--entity-replacement-text): Use eval-and-comple.
3903 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
3905 * vc/vc-git.el (vc-git-registered): Use cache property
3907 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3908 `vc-git-working-revision' in order to benefit from the cache.
3909 (vc-git-root): Use cache property `git-root'. (Bug#11757)
3911 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3913 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
3914 removed (likely outside Emacs). (Bug#11757)
3916 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3918 * emacs-lisp/cl-lib.el: Require macroexp.
3920 2012-06-30 Chong Yidong <cyd@gnu.org>
3922 * xml.el: Implement XML parameter entities.
3923 (xml-parameter-entity-alist): New variable.
3924 (xml-parse-region, xml-parse-fragment): Preserve previous values
3925 of xml-entity-alist and xml-parameter-entity-alist, so that
3926 repeated calls on different documents do not change them.
3927 (xml-parse-tag): Fix doctype regexp.
3928 (xml--entity-replacement-text): New function.
3929 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3930 properly requires url retrieval which is unimplemented.
3931 (xml-escape-string): Doc fix.
3933 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3935 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3937 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3939 * fringe.el (fringe-mode): Doc fix.
3941 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
3943 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3945 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3946 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3948 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3950 * calendar/cal-dst.el (calendar-current-time-zone):
3951 Return calendar-current-time-zone-cache if non-nil.
3953 2012-06-29 Masatake YAMATO <yamato@redhat.com>
3955 * progmodes/which-func.el (which-func-format):
3956 Add mouse-face. (Bug#11698)
3958 2012-06-29 Leo Liu <sdl.web@gmail.com>
3960 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3962 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3964 * minibuffer.el (minibuffer-confirm-exit-commands):
3965 Add completion-at-point (bug#11725).
3967 2012-06-29 Glenn Morris <rgm@gnu.org>
3969 * progmodes/f90.el (f90-font-lock-keywords-2):
3970 Add some preprocessor elements. (Bug#10499)
3972 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3974 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3975 Use syntax-propertize (bug#11739).
3977 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
3979 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3981 2012-06-28 Julien Danjou <julien@danjou.info>
3983 * term.el (term-handle-colors-array): Use a set of new faces to
3984 color the terminal. Also uses :inverse-video property.
3985 (term-default-fg-color): Set to nil by default, deprecate in favor
3987 (term-default-bg-color): Set to nil by default, deprecate in favor
3989 (term-current-face): Use `term-face' by default.
3990 (term-bold-attribute): Variable deleted.
3992 2012-06-28 Glenn Morris <rgm@gnu.org>
3994 * simple.el (completion-list-mode-finish):
3995 Don't use toggle-read-only. (Since completion-list-mode has
3996 a special mode-class, it wasn't doing anything extra anyway.)
3998 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4000 Make inlining of other-mode interpreted functions work (bug#11799).
4001 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4002 (byte-compile): Use it to fix compilation of lexical-binding closures.
4003 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4004 function, if needed.
4006 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4008 * help-mode.el (help-make-xrefs): Don't just withstand
4009 cyclic-variable-indirection but any error in documentation-property.
4011 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4013 * bindings.el (bindings--define-key): New function.
4014 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4015 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4016 * bindings.el: Use it to purecopy define-key bindings.
4018 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4020 * emacs-lisp/cl.el (flet): Mark obsolete.
4021 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4022 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4023 * progmodes/js.el (js-c-fill-paragraph):
4024 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4025 (ebrowse-switch-member-buffer-to-derived-class):
4026 * play/5x5.el (5x5-solver): Use cl-flet.
4028 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4029 (cl--symbol-function): New macro.
4030 (cl--letf, cl--letf*): Use it.
4032 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4033 Strip "toggle-" if any.
4035 2012-06-27 Glenn Morris <rgm@gnu.org>
4037 * info.el (Info-default-directory-list): Move here from paths.el.
4038 * paths.el: Remove file, which is now empty.
4039 * loadup.el: No longer load "paths".
4041 * custom.el (custom-initialize-delay): Doc fix.
4043 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4044 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4045 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4046 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4047 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4048 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4049 * eshell/eshell.el (eshell-defgroup): Remove alias.
4051 2012-06-27 Chong Yidong <cyd@gnu.org>
4053 * help.el (help-enable-auto-load): New variable.
4055 * help-fns.el (help-fns--autoloaded-p): New function.
4056 (describe-function-1): Refer to a function as "autoloaded" if it
4057 was autoloaded at any time in the past. Perform autoloading if
4058 help-enable-auto-load is non-nil.
4060 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4062 * makefile.w32-in (compile, compile-always): Depend on
4063 update-subdirs, not on subdirs.el. Otherwise, several different
4064 sub-targets of 'bootstrap' running in parallel could
4065 simultaneously write to subdirs.el, producing a garbled file.
4067 2012-06-26 Sam Steingold <sds@gnu.org>
4069 * files.el (file-name-base): New convenience function.
4070 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4071 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4072 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4073 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4074 * textmodes/ispell.el, textmodes/reftex-ref.el:
4075 * textmodes/tex-mode.el: Use it.
4076 Did not touch cedet and org because they are maintained elsewhere.
4078 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4080 * calendar/calendar.el (calendar-exit): Don't try to delete or
4081 iconify last frame. See:
4082 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4084 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4086 * server.el (server-process-filter): Remember dir in the
4087 process's `server-client-directory' properties.
4089 2012-06-24 Chong Yidong <cyd@gnu.org>
4091 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4094 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4096 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4098 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4100 * help-fns.el (describe-variable): Don't croak when doc is not found.
4101 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4102 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4103 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4104 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4105 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4107 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4109 2012-06-23 Chong Yidong <cyd@gnu.org>
4111 * info.el (Info-mouse-follow-link): Accept symbol values of
4112 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4113 (Info-fontify-node): Use Info-link-keymap for all navigation
4114 buttons, with link-args property to perform the desired action.
4115 (Info-link-keymap): Doc fix.
4116 (Info-next-link-keymap, Info-prev-link-keymap)
4117 (Info-up-link-keymap): Delete now-unused keymaps.
4119 2012-06-23 Chong Yidong <cyd@gnu.org>
4121 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4123 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4126 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4128 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4130 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4133 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4134 the requote function doesn't work properly (bug#11714).
4136 2012-06-23 Glenn Morris <rgm@gnu.org>
4138 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4140 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4142 Further GV/CL cleanups.
4143 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4145 (gv--defun-declaration): New function.
4146 (defun-declarations-alist): Use it.
4147 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4148 (gv-place): Autoload.
4149 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4150 original definition of dotimes and dolist.
4151 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4152 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4153 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4154 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4155 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4156 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4157 to the function's definition.
4158 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4162 * env.el: Don't use CL.
4164 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4166 Support higher-resolution time stamps (Bug#9000).
4168 * calendar/time-date.el (with-decoded-time-value): New arg
4169 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4170 (encode-time-value): New optional arg PICO. New type 3.
4171 (time-to-seconds) [!float-time]: Support the new picoseconds
4172 component if it's used.
4173 (seconds-to-time, time-subtract, time-add):
4174 Support ps-resolution time stamps as well.
4176 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4177 (timerp): Timer vectors now have length 9, not 8.
4178 (timer--time): Support new-style (4-part) time stamps.
4179 (timer-next-integral-multiple-of-time): Time stamps now have
4180 picosecond resolution, so take a bit more care about rounding.
4181 (timer-relative-time, timer-inc-time): New optional arg psecs.
4182 (timer-set-time-with-usecs): Set psecs to 0.
4183 (timer--activate): Check psecs component, too.
4185 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4187 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4189 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4190 Move the non-essential binding to the post/pre-command-hook where it is
4191 more obviously correct.
4193 * subr.el (read-passwd): Don't use a history at all.
4194 * savehist.el (savehist-save): Remove password saved accidentally
4195 because of the above bug.
4197 2012-06-22 Bastien Guerry <bzg@gnu.org>
4199 * files.el (toggle-read-only): Display a message telling whether
4200 the buffer is read-only or not (bug#11726).
4202 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4204 * emacs-lisp/gv.el: New file.
4205 * subr.el (push, pop): Extend to generalized variables.
4206 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4207 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4208 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4209 gv-define-simple-setter, and gv-define-expander.
4210 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4211 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4212 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4213 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4214 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4216 (cl-defstruct): Don't define setf-method any more.
4217 * emacs-lisp/cl.el (flet): Don't autoload.
4218 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4219 (define-setf-expander, defsetf, define-modify-macro)
4220 (cl-struct-setf-expander): Move from cl-lib.el.
4221 * emacs-lisp/syntax.el:
4222 * emacs-lisp/ewoc.el:
4223 * emacs-lisp/smie.el:
4224 * emacs-lisp/cconv.el:
4225 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4226 (timer--time): Use gv-define-simple-setter.
4227 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4228 to avoid coding-system problems in subr.el. Adjust all users.
4229 (macroexp--maxsize, macroexp-small-p): New functions.
4230 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4231 * scroll-bar.el (scroll-bar-mode):
4232 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4233 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4234 * winner.el (winner-configuration, winner-make-point-alist)
4235 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4236 * files.el (locate-file-completion-table): Avoid list*.
4238 2012-06-22 Chong Yidong <cyd@gnu.org>
4240 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4241 (dired-create-files): Doc fix (Bug#11329).
4242 (dired-do-copy): Doc fix (Bug#11334).
4243 (dired-mark-read-string): Doc fix (Bug#11553).
4245 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4246 Doc fix (Bug#11326).
4247 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4248 (dired-dwim-target): Doc fix.
4250 * wdired.el (wdired-mode): Doc fix.
4252 2012-06-22 Glenn Morris <rgm@gnu.org>
4254 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4255 (pcmpl-rpm-cache-stamp-file): New constant.
4256 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4257 (pcmpl-rpm-packages): Optionally cache list of packages.
4259 * pcmpl-rpm.el (pcmpl-rpm): New group.
4260 (pcmpl-rpm-query-options): New option.
4261 (pcmpl-rpm-packages): No need to inline it.
4262 Use pcmpl-rpm-query-options.
4264 * calendar/calendar.el (calendar-in-read-only-buffer):
4265 Avoid some needless mode changes.
4267 2012-06-21 Chong Yidong <cyd@gnu.org>
4269 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4270 (desktop-path): Remove . from the default value (Bug#10977).
4271 (desktop-read): Use user-emacs-directory if desktop-path is nil.
4273 2012-06-20 Chong Yidong <cyd@gnu.org>
4275 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4277 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4279 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4282 2012-06-20 Chong Yidong <cyd@gnu.org>
4284 * term.el (term-window-width): Handle the case of a missing right
4286 (term-check-size): Use window-text-height (Bug#5445).
4287 (term-mode): Use define-derived-mode. Minor cleanups.
4288 Set font-lock-defaults (Bug#7692).
4289 (term-move-columns, term-insert-char, term-emulate-terminal)
4290 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4292 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
4294 * net/ange-ftp.el (ange-ftp-get-passwd):
4295 Bind `enable-recursive-minibuffers'.
4296 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4298 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4300 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4302 2012-06-19 Glenn Morris <rgm@gnu.org>
4304 * progmodes/python.el (python-mode): Derive from prog-mode.
4306 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4308 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4309 (edt-user-menu-bar-update-buffers): New functions.
4310 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4312 2012-06-19 Chong Yidong <cyd@gnu.org>
4314 * subr.el (with-selected-window): Preserve the selected window's
4315 terminal's top-frame (Bug#4702).
4317 * window.el (save-selected-window): Likewise.
4319 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4321 * progmodes/python.el (python-rx-constituents): Move backquote.
4322 (python-skeleton-define, python-define-auxiliary-skeleton):
4325 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
4327 * minibuffer.el (read-file-name-default): Revert the patch from
4330 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4332 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4333 (pcase--u1, pcase--q1): Don't use apply-partially.
4335 2012-06-18 Glenn Morris <rgm@gnu.org>
4337 * progmodes/python.el (python-proc, python-buffer)
4338 (python-send-receive, python-send-string): Fix obsolete versions.
4340 2012-06-18 Martin Rudalics <rudalics@gmx.at>
4342 * window.el (special-display-p): Completely remove stringp
4343 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4345 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
4347 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4349 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4351 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4352 * net/tramp-sh.el (tramp-maybe-open-connection):
4353 Throw if `non-essential' is non-nil.
4355 2012-06-17 Martin Rudalics <rudalics@gmx.at>
4357 * window.el (special-display-p): Signal an error if BUFFER-NAME
4358 is not a string (Bug#11713).
4360 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4362 * progmodes/python.el (python-info-beginning-of-backslash):
4363 Rename from python-info-beginning-of-backlash, as a spelling fix.
4365 2012-06-17 Chong Yidong <cyd@gnu.org>
4367 * term.el (term-emulate-terminal): If term-check-size is called,
4368 move point to the process mark without resetting point (Bug#4635).
4370 2012-06-17 Glenn Morris <rgm@gnu.org>
4372 * international/mule-cmds.el (mule-menu-keymap)
4373 (set-language-environment, set-locale-environment): Doc tweaks.
4375 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4377 * cus-face.el (custom-face-attributes): Add wave-style underline
4379 * faces.el (set-face-attribute): Update docstring to describe
4380 wave-style underline attribute.
4382 2012-06-16 Chong Yidong <cyd@gnu.org>
4384 * term/xterm.el (terminal-init-xterm): Discard input before
4385 querying background mode (Bug#10959).
4387 2012-06-16 Stefan Merten <smerten@oekonux.de>
4389 * textmodes/rst.el: Added and corrected some comments.
4390 (rst-re-alist-def): Improve symbol syntax.
4391 (rst-mode-syntax-table): Correct syntax entries.
4392 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4393 (rst-official-version, rst-official-cvs-rev): Update version
4396 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
4398 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4399 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4401 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4403 * progmodes/python.el: New python.el merge.
4404 (python-guess-indent): Obsolete var.
4405 (python-indent-guess-indent-offset): New defcustom.
4406 (python-indent): Obsolete var.
4407 (python-indent-offset): New defcustom.
4408 (python-python-command, python-jython-command): Delete var.
4409 (python-shell-interpreter): New defcustom.
4410 (python-pdbtrack-do-tracking-p): Delete var.
4411 (python-pdbtrack-activate): New defcustom.
4412 (python-use-skeletons): Obsolete var.
4413 (python-skeleton-autoinsert): New defcustom.
4414 (inferior-python-filter-regexp, python-continuation-offset)
4415 (python-honour-comment-indentation, python-indent-string-contents)
4416 (python-jython-packages, python-mode-hook)
4417 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4418 (python-shell-prompt-alist)
4419 (python-source-modes): Delete defcustoms.
4420 (python-check-buffer-name, python-eldoc-setup-code)
4421 (python-eldoc-string-code, python-ffap-setup-code)
4422 (python-ffap-string-code, python-fill-comment-function)
4423 (python-fill-decorator-function, python-fill-paren-function)
4424 (python-fill-string-function, python-imenu-include-defun-type)
4425 (python-imenu-make-tree, python-imenu-subtree-root-label)
4426 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4427 (python-shell-compilation-regexp-alist)
4428 (python-shell-completion-module-string-code)
4429 (python-shell-completion-pdb-string-code)
4430 (python-shell-completion-setup-code)
4431 (python-shell-completion-string-code)
4432 (python-shell-enable-font-lock, python-shell-exec-path)
4433 (python-shell-extra-pythonpaths)
4434 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4435 (python-shell-process-environment)
4436 (python-shell-prompt-block-regexp)
4437 (python-shell-prompt-output-regexp)
4438 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4439 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4440 (python-shell-virtualenv-path): New defcustoms.
4441 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4442 (inferior-python-mode-syntax-table, python--prompt-regexp)
4443 (python-buffer, python-command python-python-command)
4444 (python-default-template, python-imports, python-indent-index)
4445 (python-indent-list, python-indent-list-length)
4446 (python-mode-running, python-pdbtrack-is-tracking-p)
4447 (python-preoutput-continuation, python-preoutput-leftover)
4448 (python-preoutput-result, python-preoutput-skip-next-prompt)
4449 (python-prev-dir/file, python-recursing)
4450 (python-saved-check-command, python-version-checked)
4451 (python-which-func-length-limit)
4452 (view-return-to-alist): Delete vars.
4453 (python-check-custom-command, python-dotty-syntax-table)
4454 (python-imenu-index-alist, python-indent-current-level)
4455 (python-indent-dedenters, python-indent-levels)
4456 (python-nav-beginning-of-defun-regexp)
4457 (python-nav-list-defun-positions-cache)
4458 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4459 (python-shell-internal-buffer)
4460 (python-skeleton-available): New vars.
4461 (def-python-skeleton): Delete macro.
4462 (python-skeleton-define): New macro.
4463 (python-define-auxiliary-skeleton, python-rx): New macros.
4464 (python-insert-class): Delete command.
4465 (python-skeleton-class): New command.
4466 (python-insert-def): Delete command.
4467 (python-skeleton-def): New command.
4468 (python-insert-for): Delete command.
4469 (python-skeleton-for): New command.
4470 (python-insert-if): Delete command.
4471 (python-skeleton-if): New command.
4472 (python-insert-try/except, python-insert-try/finally): Delete commands.
4473 (python-skeleton-try): New command.
4474 (python-insert-while): Delete command.
4475 (python-skeleton-while): New command.
4476 (python-backspace): Delete command.
4477 (python-indent-dedent-line-backspace): New command.
4478 (python-electric-colon): Delete command.
4479 (python-indent-electric-colon): New command.
4480 (python-guess-indent): Delete command.
4481 (python-indent-guess-indent-offset): New command.
4482 (python-shift-left): Delete command.
4483 (python-indent-shift-left): New command.
4484 (python-shift-right): Delete command.
4485 (python-indent-shift-right): New command.
4486 (python-find-function): Delete command.
4487 (python-nav-jump-to-defun): New command.
4488 (python-next-statement): Delete command.
4489 (python-nav-forward-sentence): New command.
4490 (python-previous-statement): Delete command.
4491 (python-nav-backward-sentence): New command.
4492 (python-fill-paragraph): Delete command.
4493 (python-fill-paragraph-function): New command.
4494 (python-send-buffer): Delete command.
4495 (python-shell-send-buffer): New command.
4496 (python-send-defun): Delete command.
4497 (python-shell-send-defun): New command.
4498 (python-send-region, python-send-region-and-go): Delete commands.
4499 (python-shell-send-region)
4500 (python-shell-switch-to-shell): New commands.
4501 (python-send-string): Delete command.
4502 (python-shell-send-string): New command.
4503 (python-switch-to-python): Delete command.
4504 (python-shell-switch-to-shell): New command.
4505 (python-describe-symbol): Delete command.
4506 (python-eldoc-at-point): New command.
4507 (python--set-prompt-regexp, python-args-to-list)
4508 (python-after-info-look, python-check-version)
4509 (python-check-comint-prompt, python-find-imports)
4510 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4511 (python-unload-function, python-expand-template)
4512 (python-maybe-jython, python-preoutput-filter)
4513 (python-pdbtrack-get-source-buffer)
4514 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4515 (python-pdbtrack-toggle-stack-tracking)
4516 (python-pdbtrack-track-stack-file, python-initial-text)
4517 (python-first-word, python-comment-line-p, python-send-command)
4518 (python-setup-brm, python-sentinel, python-set-proc)
4519 (python-skip-out, python-input-filter, python-outdent-p)
4520 (python-outline-level, python-backslash-continuation-line-p)
4521 (python-end-of-block, python-end-of-statement, python-mark-block)
4522 (python-beginning-of-block, python-beginning-of-statement)
4523 (python-blank-line-p, python-beginning-of-string)
4524 (python-open-block-statement-p): Delete functions.
4525 (python-indent-line, python-indent-line-1): Delete functions.
4526 (python-indent-line): New function.
4527 (python-indentation-levels): Delete function.
4528 (python-indent-calculate-levels): New function.
4529 (python-proc): Delete function.
4530 (python-shell-get-process): New function.
4531 (python-send-receive): Delete function.
4532 (python-shell-send-string-no-output): New function.
4533 (python-module-path): Delete function.
4534 (python-ffap-module-path): New function.
4535 (python-completion-at-point)
4536 (python-symbol-completions): Delete functions.
4537 (python-completion-complete-at-point): New function.
4538 (python-load-file): Delete function.
4539 (python-shell-send-file): New function.
4540 (python-calculate-indentation): Delete function.
4541 (python-indent-calculate-indentation): New function.
4542 (python-skip-comments/blanks): Delete function.
4543 (python-util-forward-comment): New function.
4544 (python-continuation-line-p): Delete function.
4545 (python-info-continuation-line-p): New function.
4546 (python-which-func, python-current-defun): Delete function.
4547 (python-info-current-defun): New function.
4548 (python-beginning-of-defun): Delete function.
4549 (python-nav-beginning-of-defun): New function.
4550 (python-close-block-statement-p)
4551 (python-block-end-p): Delete function.
4552 (python-info-closing-block): New function.
4553 (python-comint-output-filter-function)
4554 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4555 (python-fill-comment, python-fill-decorator, python-fill-paren)
4556 (python-fill-string, python-imenu-make-element-tree)
4557 (python-imenu-make-tree, python-imenu-tree-assoc)
4558 (python-indent-context, python-indent-dedent-line)
4559 (python-indent-line-function)
4560 (python-indent-post-self-insert-function)
4561 (python-indent-toggle-levels)
4562 (python-info-assignment-continuation-line-p)
4563 (python-info-beginning-of-backlash)
4564 (python-info-block-continuation-line-p)
4565 (python-info-closing-block-message)
4566 (python-info-line-ends-backslash-p)
4567 (python-info-looking-at-beginning-of-defun)
4568 (python-info-ppss-context, python-info-ppss-context-type)
4569 (python-nav-list-defun-positions, python-nav-read-defun)
4570 (python-nav-sentence-end, python-nav-sentence-start)
4571 (python-pdbtrack-comint-output-filter-function)
4572 (python-pdbtrack-set-tracked-buffer)
4573 (python-shell-calculate-exec-path)
4574 (python-shell-calculate-process-environment)
4575 (python-shell-completion--do-completion-at-point)
4576 (python-shell-completion--get-completions)
4577 (python-shell-completion-complete-at-point)
4578 (python-shell-completion-complete-or-indent)
4579 (python-shell-get-or-create-process)
4580 (python-shell-get-process-name)
4581 (python-shell-internal-get-or-create-process)
4582 (python-shell-internal-get-process-name)
4583 (python-shell-internal-send-string, python-shell-make-comint)
4584 (python-shell-parse-command, python-shell-send-setup-code)
4585 (python-skeleton-add-menu-items)
4586 (python-util-clone-local-variables, python-util-position)
4587 (run-python-internal, python-indentation-levels)
4588 (python-nav-beginning-of-defun)
4589 (python-completion-complete-at-point): New functions.
4590 (run-python): Change arguments. New API requirements.
4592 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4594 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4597 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4598 (macroexp--expand-all): Use it.
4600 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4601 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4602 Use `cl-function' instead.
4604 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
4606 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4607 Suggested by Stefan Monnier while discussing bug#11657.
4609 2012-06-14 Sam Steingold <sds@gnu.org>
4611 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4613 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4615 * play/doctor.el (doctor-doc): Remove parameter and use
4616 doctor-sent instead of sent.
4617 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4619 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4621 * files.el: Require cl-lib.
4622 (file-name-non-special): Replace case -> cl-case.
4624 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4626 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4627 mapping from #' to function*.
4629 2012-06-13 Chong Yidong <cyd@gnu.org>
4631 * mouse.el (mouse-drag-track): Do not set the mark if the user
4632 releases the mouse without selecting anything (Bug#11588).
4634 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4636 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4637 as well (bug#11646).
4639 * loadup.el: Count byte-code functions as well.
4641 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4642 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4644 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4645 (bug#11649). Add cl-defun and cl-defmacro.
4647 2012-06-13 Drew Adams <drew.adams@oracle.com>
4649 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4652 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
4654 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4655 Otherwise, it blocks in batch mode.
4657 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
4659 * help-mode.el (bookmark-make-record-default): Declare.
4661 2012-06-13 Chong Yidong <cyd@gnu.org>
4663 * emacs-lisp/package.el (list-packages): Compute a list of
4664 packages that are newly-available since the last list-packages
4666 (package-menu--new-package-list): New var.
4667 (package-menu--generate, package-menu--print-info)
4668 (package-menu--status-predicate, package-menu-mark-install):
4669 Handle new status label "new".
4671 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4673 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4674 conversion to backquotes.
4676 2012-06-12 Chong Yidong <cyd@gnu.org>
4678 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4679 Rename from gud-inhibit-global-bindings.
4681 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4683 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4684 hook from nxml-glyph-set-hook.
4686 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4689 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4691 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4692 Convert to defcustom.
4694 2012-06-12 Drew Adams <drew.adams@oracle.com>
4696 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4698 (help-mode): Use them.
4700 2012-06-11 Glenn Morris <rgm@gnu.org>
4702 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4703 Use preprocessor face for directives.
4704 (fortran-directive-re): Doc fix.
4706 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4708 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4709 conversion to backquotes (bug#11652).
4711 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4712 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4713 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4714 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4715 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4716 (cl-ninth, cl-tenth): Mark them as inlinable.
4717 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4718 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4719 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4720 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4721 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4722 (cl-list*, cl-adjoin): Don't put an autoload manually.
4723 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4724 (cl--compiler-macro-list*): Add autoload cookie.
4725 (cl--compiler-macro-cXXr): New function.
4727 * help-fns.el (help-fns--compiler-macro): New function extracted from
4728 describe-function-1; follow aliases and use `compiler-macro' property.
4729 (describe-function-1): Use it.
4731 2012-06-11 Chong Yidong <cyd@gnu.org>
4733 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4734 is uninstalled, if imagemagick is installed.
4736 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4738 * emacs-lisp/cl-lib.el: Use lexical-binding.
4739 (cl-map-extents, cl-maclisp-member): Remove.
4740 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4741 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4742 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4743 * emacs-lisp/cl-extra.el: Use lexical-binding.
4744 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4745 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4746 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4747 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4748 * emacs-lisp/cl-seq.el: Use lexical-binding.
4749 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4750 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4751 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4752 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4753 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4756 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
4758 Sync with Tramp 2.2.6-pre.
4760 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4761 `print-length' and `print-level' to nil, in order to avoid
4762 truncation. Reported by Christopher Schmidt
4763 <christopher@ristopher.com>.
4765 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4767 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4769 (tramp-compat-copy-directory): Add optional argument
4770 COPY-CONTENTS. It is not handled yet.
4772 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4773 (tramp-ftp-file-name-p): Simplify.
4775 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4776 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4779 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4780 (tramp-methods): Do not use `tramp-password-end-of-line'.
4781 (tramp-completion-function-alist-putty): Handle UNIX case.
4782 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4783 (tramp-do-file-attributes-with-stat)
4784 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4785 gid as real numbers. They could run out of integer range on cygwin.
4786 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4787 (tramp-sh-handle-expand-file-name): Handle hops.
4788 (tramp-open-connection-setup-interactive-shell):
4789 Use `tramp-cleanup'. Move check for busyboxes ...
4790 (tramp-find-shell): ... here. Simplify implementation.
4791 Set "remote-shell" property also for alternative shells.
4792 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4793 If failing, a regular file would be written otherwise.
4794 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4795 (tramp-find-inline-encoding): Cache the coding commands in the
4796 process cache. Apply test command on the remote side, if defined.
4797 (tramp-find-inline-compress): Cache the compress commands in the
4799 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4800 when requested. Handle hops.
4801 (tramp-current-connection): New defvar.
4802 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4803 Throw `suppress', if there was a failed connection shortly before.
4804 Handle user interrupt. (Bug#10187)
4805 (tramp-get-inline-compress, tramp-get-inline-coding):
4806 Read connection properties from the process cache.
4808 * net/tramp-smb.el (tramp-smb-server-version)
4809 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4811 (tramp-smb-prompt): Extend for powershell prompt.
4812 (tramp-smb-file-name-handler-alist): Add handlers for
4813 `process-file', `shell-command' and `start-file-process'.
4814 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4815 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4816 (tramp-smb-file-name-p): Simplify.
4817 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4818 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4819 (tramp-smb-shell-quote-argument): New defuns.
4820 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4821 Implement using "tar". By this, time-stamps are preserved.
4822 (tramp-smb-handle-copy-file): Handle also the case of directories.
4823 (tramp-smb-do-file-attributes-with-stat)
4824 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4825 Use `tramp-get-connection-buffer').
4826 (tramp-smb-handle-rename-file): Use "rename", when source and
4827 target are on the same share.
4828 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4829 Use `tramp-smb-server-version'.
4830 (tramp-smb-wait-for-output): Remove prompt.
4832 * net/tramp.el (top): Require 'cl.
4833 (tramp-methods, tramp-rsh-end-of-line):
4834 Remove `tramp-password-end-of-line' from docstring.
4835 (tramp-save-ad-hoc-proxies): New defcustom.
4836 (tramp-completion-function-alist): Adapt docstring.
4837 (tramp-default-password-end-of-line): Remove defcustom.
4838 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4839 (tramp-user-regexp, tramp-file-name-regexp-unified)
4840 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4841 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4842 (tramp-remote-file-name-spec-regexp): New defconst.
4843 (tramp-file-name-structure): Extend structure for hops.
4844 (tramp-get-method-parameter): Move up.
4845 (tramp-file-name-p, tramp-dissect-file-name)
4846 (with-parsed-tramp-file-name): Handle hops.
4847 (tramp-file-name-hop): New defun.
4848 (tramp-make-tramp-file-name): New optional arg HOP.
4849 (tramp-message-show-progress-reporter-message): New defvar.
4850 (tramp-with-progress-reporter): Use it. We cannot use
4851 `tramp-message-show-message' here, because this suppresses also
4853 (tramp-error-with-buffer): Suppress buffer view, if
4854 `tramp-message-show-message' is nil.
4855 Use `tramp-get-connection-buffer'.
4856 (tramp-cleanup): New defun.
4857 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4858 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4860 (tramp-completion-handle-file-name-all-completions): Handle hops.
4861 Fix an error when called from ido.
4862 (tramp-completion-dissect-file-name): Use better local variable
4863 name. Add hop to the vector.
4864 (tramp-handle-insert-file-contents): Use progress-reporter for the
4866 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4868 (tramp-check-for-regexp): Simplify search.
4869 (tramp-enter-password): Remove it. Move implementation ...
4870 (tramp-action-password): ... here.
4871 (tramp-mode-string-to-int, tramp-local-host-p)
4872 (tramp-make-tramp-temp-file, tramp-read-passwd)
4873 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4874 Set tramp-autoload cookie.
4876 * net/trampver.el: Update release number.
4878 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4879 Michael Albinus <michael.albinus@gmx.de>
4881 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4882 (tramp-parse-group, tramp-parse-file)
4883 (tramp-parse-shostkeys-sknownhosts): New defuns.
4884 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4885 (tramp-parse-shosts-group, tramp-parse-sconfig)
4886 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4887 (tramp-parse-sknownhosts, tramp-parse-hosts)
4888 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4890 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4891 (tramp-parse-putty-group): Don't narrow.
4892 (tramp-parse-putty): Make a loop.
4893 (tramp-file-name-handler): Catch the `suppress' signal.
4895 2012-06-11 Chong Yidong <cyd@gnu.org>
4897 * image.el (imagemagick-register-types): Put the ImageMagick entry
4898 at the end of image-type-file-name-regexps.
4900 2012-06-11 Johan Bockgård <bojohan@gnu.org>
4902 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4903 (pcase, pcase-let*, pcase-dolist): Use them.
4905 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4907 * emacs-lisp/pcase.el (pcase--let*): New function.
4908 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4909 (pcase--expand): Use macroexp-let².
4911 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4913 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4914 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4915 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4916 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4917 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4918 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4920 2012-06-10 Glenn Morris <rgm@gnu.org>
4922 * mail/rmail.el (rmail-yank-current-message): Leave point at
4923 correct position. (Bug#11660)
4925 2012-06-10 Chong Yidong <cyd@gnu.org>
4927 * allout-widgets.el: Fix code header.
4929 2012-06-10 Chong Yidong <cyd@gnu.org>
4931 * cus-edit.el (customize-changed-options-previous-release):
4934 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4936 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4938 2012-06-09 Chong Yidong <cyd@gnu.org>
4940 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4942 2012-06-09 Martin Rudalics <rudalics@gmx.at>
4944 * window.el (special-display-popup-frame): Don't use
4945 window--display-buffer (Bug#11651).
4947 2012-06-09 Eli Zaretskii <eliz@gnu.org>
4949 Fix parallel builds: make sure loaddefs.el is not being written
4950 while Lisp files are compiled.
4951 (compile): Don't depend on 'mh-autoloads'.
4952 (compile-CMD, compile-SH): Depend on 'autoloads'.
4953 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4955 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4957 2012-06-09 Chong Yidong <cyd@gnu.org>
4959 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4960 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4961 Doc fixes (Bug#11225).
4963 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4965 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4966 a function if there's a clear indication that it has a compiler-macro.
4967 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4968 (macro-declarations-alist): Add arglist to declaration functions.
4969 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4970 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4971 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4972 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4973 Also add autoload to find the compiler macro.
4974 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4975 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4976 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4977 (cl--compiler-macro-get): New functions, replacing calls to
4978 cl-define-compiler-macro.
4979 (cl-typep) [compiler-macro]: Use macroexp-let².
4981 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
4983 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4984 string properly, fixes Bug#11473.
4986 2012-06-08 Chong Yidong <cyd@gnu.org>
4988 * faces.el (set-face-attribute): Doc fix.
4989 (modify-face): Don't use :bold and :italic.
4990 (error, warning, success): Tweak definitions.
4992 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4993 (custom-modified, custom-set, custom-changed, custom-themed)
4994 (custom-saved, custom-button, custom-button-mouse)
4995 (custom-button-pressed, custom-state, custom-comment-tag)
4996 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4997 (custom-group-subtitle): Use new-style face specs.
4998 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4999 (custom-set-face, custom-changed-face, custom-saved-face)
5000 (custom-button-face, custom-button-pressed-face)
5001 (custom-documentation-face, custom-state-face)
5002 (custom-comment-face, custom-comment-tag-face)
5003 (custom-variable-tag-face, custom-variable-button-face)
5004 (custom-face-tag-face, custom-group-tag-face-1)
5005 (custom-group-tag-face): Remove obsolete face alias.
5007 * epa.el (epa-validity-high, epa-validity-medium)
5008 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5009 (epa-field-name, epa-field-body):
5010 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5011 (font-lock-keyword-face, font-lock-builtin-face)
5012 (font-lock-function-name-face, font-lock-variable-name-face)
5013 (font-lock-type-face, font-lock-constant-face):
5014 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5015 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5016 * speedbar.el (speedbar-button-face, speedbar-file-face)
5017 (speedbar-directory-face, speedbar-tag-face)
5018 (speedbar-selected-face, speedbar-highlight-face)
5019 (speedbar-separator-face):
5020 * whitespace.el (whitespace-newline, whitespace-space)
5021 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5022 (whitespace-line, whitespace-space-before-tab)
5023 (whitespace-space-after-tab, whitespace-indentation)
5025 * emulation/cua-base.el (cua-global-mark):
5026 * eshell/em-prompt.el (eshell-prompt):
5027 * net/newst-plainview.el (newsticker-new-item-face)
5028 (newsticker-old-item-face, newsticker-immortal-item-face)
5029 (newsticker-obsolete-item-face, newsticker-date-face)
5030 (newsticker-statistics-face, newsticker-default-face):
5031 * net/newst-reader.el (newsticker-feed-face)
5032 (newsticker-extra-face, newsticker-enclosure-face):
5033 * net/newst-treeview.el (newsticker-treeview-face)
5034 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5035 (newsticker-treeview-immortal-face)
5036 (newsticker-treeview-obsolete-face)
5037 (newsticker-treeview-selection-face):
5038 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5039 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5040 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5041 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5042 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5043 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5044 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5046 * progmodes/vera-mode.el (vera-font-lock-number)
5047 (vera-font-lock-function, vera-font-lock-interface):
5048 * textmodes/table.el (table-cell): Use new-style face specs, and
5049 don't use the old :bold and :italic attributes.
5051 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5052 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5053 (ebrowse-member-class, ebrowse-progress): Likewise.
5054 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5055 (ebrowse-file-name-face, ebrowse-default-face)
5056 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5057 (ebrowse-progress-face): Remove obsolete faces.
5059 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5060 Inherit from error and warning faces respectively.
5062 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5064 (flyspell-incorrect-face, flyspell-duplicate-face):
5065 Remove obsolete aliases.
5067 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5069 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5072 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5074 * startup.el (argv, argi): Make lexically scoped.
5075 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5076 * emacs-lisp/cl-macs.el: Use lexical-binding.
5077 Rename cl-bind-* to cl--bind-*.
5078 * files.el: Don't require `cl' since it doesn't use it.
5079 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5081 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5083 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5084 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5085 instead of calling external sort utility.
5086 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5088 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5090 * descr-text.el (describe-char): Mention how to insert the
5091 character, if the current input method doesn't support it.
5092 See the discussion in this thread for the details:
5093 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5095 2012-06-08 Sam Steingold <sds@gnu.org>
5097 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5098 XF86Back to previous-buffer.
5099 (minibuffer-local-map): Bind them to next-history-element and
5100 previous-history-element respectively.
5101 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5102 help-go-back respectively.
5103 * info.el (Info-mode-map): Bind them to Info-history-forward and
5104 Info-history-back respectively.
5105 These are the keys next to Up on the ThinkPad keyboard.
5107 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5109 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5110 * emacs-lisp/cl-macs.el: Provide itself.
5111 (cl--labels-convert-cache): New var.
5112 (cl--labels-convert): New function.
5113 (cl-flet, cl-labels): New implementation with new semantics, relying on
5115 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5116 (cl-closure-vars, cl--function-convert-cache)
5117 (cl--function-convert): Move from cl-macs.el.
5118 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5119 rename by removing the "cl-" prefix.
5120 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5122 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5124 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5125 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5126 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5127 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5128 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5129 (cl-hash-table-count): Add old compatibility aliases.
5131 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5132 Use macroexpand-all-environment instead.
5133 (cl--old-macroexpand): New var.
5134 (cl--sm-macroexpand): New function.
5135 (cl-symbol-macrolet): Use it during macro expansion.
5136 (cl--function-convert-cache): New var.
5137 (cl--function-convert): New function, extracted from
5139 (cl-lexical-let): Use it.
5141 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5142 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5143 (cl-member): Remove old alias.
5145 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5146 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5147 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5148 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5149 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5150 (cl-macroexpand-cmacs): Remove var.
5151 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5152 Use macroexpand-all instead.
5154 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5156 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5157 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5158 (macroexp-copyable-p): New functions and macros.
5159 * emacs-lisp/edebug.el (edebug-unwrap):
5160 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5161 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5162 (pcase--let*): Remove.
5163 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5164 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5165 macroexp-const-p instead.
5166 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5168 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5169 instead of "cl-" for internal definitions. Use macroexp-const-p.
5170 (cl-old-bc-file-form): Remove var.
5171 (cl-const-exprs-p): Remove fun.
5172 (cl-labels, cl-macrolet): Use backquote.
5173 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5174 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5175 (cl-define-setf-expander): Rename from cl-define-setf-method.
5176 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5178 * international/mule-cmds.el: Don't require CL.
5179 (view-hello-file): Don't use `letf'.
5181 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5183 * tmm.el (tmm-prompt): Use string-prefix-p.
5184 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5185 (tmm-add-prompt): Use minibuffer-completion-help.
5186 (tmm-delete-map): Remove.
5188 * subr.el (kbd): Make it its own function.
5190 2012-06-07 Stefan Merten <smerten@oekonux.de>
5192 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5193 Silence compiler warnings. Fix versions.
5194 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5195 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5196 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5197 (rst-package-emacs-version-alist): Correct Emacs version to
5198 represent major merge with upstream.
5199 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5201 2012-06-06 Glenn Morris <rgm@gnu.org>
5203 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5204 Only print environment variables if set.
5206 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5208 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5209 (macroexp--cons): Rename from maybe-cons.
5210 (macroexp--accumulate): Rename from macroexp-accumulate.
5211 (macroexp--all-forms): Rename from macroexpand-all-forms.
5212 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5213 (macroexp--expand-all): Rename from macroexpand-all-1.
5215 2012-06-06 Sam Steingold <sds@gnu.org>
5217 * calendar/calendar.el (calendar-in-read-only-buffer):
5218 Call `special-mode' to enable the standard read-only keybindings.
5220 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5222 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5223 with "loading" messages (bug#11635).
5225 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
5227 * files.el (enable-remote-dir-locals): New option.
5228 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5230 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5231 Ensure, that the temp directory is local.
5233 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5234 `temporary-file-directory'.
5236 * progmodes/python.el (python-send-region): Ensure, that the
5237 temporary file is created also in the remote case.
5239 2012-06-06 Glenn Morris <rgm@gnu.org>
5241 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5242 (vc-rcs-update-changelog): Use it.
5244 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5246 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5247 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5248 (vc-sccs-diff): Replace use of the external vcdiff script.
5250 2012-06-05 Glenn Morris <rgm@gnu.org>
5252 * ledit.el: Move to obsolete/.
5254 2012-06-05 Sam Steingold <sds@gnu.org>
5256 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5259 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5261 * emacs-lisp/cust-print.el: Move to obsolete.
5263 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5264 compiler-macro expansion.
5266 Add native compiler-macro support.
5267 * emacs-lisp/macroexp.el (macroexpand-all-1):
5268 Support compiler-macros directly. Properly follow aliases and apply
5269 the compiler macros more thoroughly.
5270 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5271 macroexpand now properly follows aliases.
5272 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5273 (cl-compiler-macroexpand): Use new prop.
5274 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5276 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5278 2012-06-05 Martin Rudalics <rudalics@gmx.at>
5280 * window.el (get-lru-window, get-mru-window, get-largest-window):
5281 New argument NOT-SELECTED to avoid picking the selected window.
5282 (window--display-buffer-1, window--display-buffer-2): Replace by
5283 new function window--display-buffer
5284 (display-buffer-same-window, display-buffer-reuse-window)
5285 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5286 Use window--display-buffer.
5287 (display-buffer-use-some-window): Remove temporary dedication
5288 hack by calling get-lru-window and get-largest-window with
5289 NOT-SELECTED argument non-nil. Call window--display-buffer.
5291 2012-06-05 Glenn Morris <rgm@gnu.org>
5293 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5294 Replace external vcdiff script.
5296 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5298 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5300 2012-06-04 Chong Yidong <cyd@gnu.org>
5302 * image.el (imagemagick-types-inhibit): Revert last change.
5304 (imagemagick-enabled-types): Remove CIN and EPS*.
5306 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5308 * emacs-lisp/cl-lib.el: Rename from cl.el.
5309 * emacs-lisp/cl.el: New compatibility file.
5310 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5311 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5312 to obey the "cl-" prefix.
5313 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5315 2012-06-03 Glenn Morris <rgm@gnu.org>
5317 * emacs-lisp/authors.el (authors-aliases): Addition.
5319 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5322 2012-06-03 Stefan Merten <smerten@oekonux.de>
5324 * textmodes/rst.el: Add comments.
5325 (rst-transition, rst-adornment): New faces.
5326 (rst-adornment-faces-alist): Make default safe to reevaluate.
5328 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5329 Improve customization tags.
5330 (rst-define-level-faces): Clarify meaning.
5332 2012-06-03 Chong Yidong <cyd@gnu.org>
5334 * progmodes/compile.el (compilation-mode-line-fail)
5335 (compilation-mode-line-run, compilation-mode-line-exit):
5337 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5339 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5341 * progmodes/which-func.el (which-func-update-ediff-windows):
5342 New function. Use it in ediff-select-hook (Bug#11478).
5344 2012-06-03 Chong Yidong <cyd@gnu.org>
5346 * bindings.el: Remove explicit help text from format-mode-line.
5347 It is now supplied by mode-line-default-help-echo.
5348 (mode-line-front-space, mode-line-end-spaces)
5349 (mode-line-misc-info): New variables.
5350 (mode-line-modes, mode-line-position): Move the default value to
5351 the variable definition.
5352 (mode-line-default-help-echo): New defcustom.
5353 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5354 (mode-line-modified-help-echo): New functions.
5355 (mode-line-mule-info, mode-line-modified): Use them.
5356 (mode-line-eol-desc, propertized-buffer-identification):
5357 Consistency fixes for help text.
5358 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5359 set-buffer-file-coding-system (Bug#289).
5360 (mode-line-mule-info-help-echo): Update help text.
5362 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5364 * simple.el (execute-extended-command): Set real-this-command
5367 2012-06-02 Chong Yidong <cyd@gnu.org>
5369 Remove incorrect uses of "modeline" in comments, docstrings, and
5370 function/variable names (Bug#10329).
5372 * cus-edit.el (mode-line):
5373 * dframe.el (dframe-mouse-hscroll):
5374 * emacs-lisp/re-builder.el:
5375 * emacs-lisp/easy-mmode.el (define-minor-mode):
5376 * frame.el (set-frame-name):
5377 * help.el (lookup-minor-mode-from-indicator):
5378 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5379 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5380 (c-toggle-hungry-state):
5381 * progmodes/antlr-mode.el (antlr-language-alist):
5382 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5383 * progmodes/vhdl-mode.el (vhdl-mode):
5384 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5385 * term/ns-win.el (ns-face-at-pos):
5386 * term/sup-mouse.el (sup-mouse-report):
5387 * textmodes/flyspell.el (flyspell-mode-line-string):
5388 * textmodes/ispell.el (ispell-highlight-face):
5389 * textmodes/reftex-global.el:
5390 * vc/vc-arch.el (vc-arch-mode-line-string):
5391 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5392 * vc/vc-git.el (vc-git-mode-line-string):
5393 * vc/vc-hooks.el (vc-display-status)
5394 (vc-default-mode-line-string):
5395 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5397 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5399 * dired.el (dired-sort-set-mode-line): Rename from
5400 dired-sort-set-modeline. All callers changed.
5402 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5403 eshell-status-in-modeline.
5405 * foldout.el (foldout-mode-line-string): Rename from
5406 foldout-modeline-string. All callers changed.
5407 (foldout-update-mode-line): Rename from foldout-update-modeline.
5409 * subr.el (redraw-modeline): Make into obsolete alias.
5411 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5412 timeclock-modeline-display. Make old name an alias.
5413 (timeclock-update-mode-line): Likewise. All callers changed.
5414 (timeclock-mode-line-display): No need to check before using
5416 (timeclock-relative, timeclock-day-over-hook)
5417 (timeclock-use-elapsed, timeclock-mode-string)
5418 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5420 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5421 crisp-mode-modeline-string.
5423 * play/solitaire.el (solitaire-build-mode-line): Rename from
5424 solitaire-build-modeline. All callers changed.
5426 * play/zone.el (zone-hiding-mode-line): Rename from
5427 zone-hiding-modeline. All callers changed.
5428 (zone): Remove unusued `modeline-hidden-level' property.
5430 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5431 xscheme-modeline-initialize. All callers changed.
5433 * strokes.el (strokes-lighter): Rename from
5434 strokes-modeline-string.
5436 * textmodes/sgml-mode.el (html-face-tag-alist)
5437 (html-tag-face-alist): Use mode-line face instead of obsolete
5440 2012-06-02 Stefan Merten <smerten@oekonux.de>
5442 * textmodes/rst.el: Always require `cl'.
5443 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5445 2012-06-02 Chong Yidong <cyd@gnu.org>
5447 * image.el (imagemagick-enabled-types): Rename from
5448 imagemagick-types-enable. Add many more types.
5449 (imagemagick-types-inhibit): Change default to nil.
5450 (imagemagick-filter-types): Caller changed.
5452 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5454 * emacs-lisp/cl-macs.el: Use backquotes.
5455 (cl-transform-function-property): Use eval-and-compile rather than
5457 (defstruct): Use declare-function instead of with-no-warnings.
5459 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5460 (byte-compile-output-docform): Re-add the print-circle bindings.
5461 (byte-compile-fix-header): Use #$ just because it's shorter.
5462 (byte-compile-output-file-form): Remove defun/defmacro.
5464 2012-06-01 Martin Rudalics <rudalics@gmx.at>
5466 * simple.el (choose-completion): Remove now obsolete binding for
5469 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
5471 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5472 in order to avoid "Stack overflow in regexp matcher".
5474 2012-05-31 Glenn Morris <rgm@gnu.org>
5476 * image.el: For clarity, call imagemagick-register-types at
5477 top-level, rather than relying on a custom :initialize.
5478 (imagemagick-types-enable): New option. (Bug#11557)
5479 (imagemagick-filter-types): New function. (Bug#7406)
5480 (imagemagick-register-types): Use imagemagick-filter-types.
5481 If disabling support, remove elements altogether rather
5482 than using an impossible regexp.
5483 (imagemagick-types-inhibit): Give it the default init function.
5485 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5487 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5488 Handle arbitrary file name lengths (Bug#11585).
5490 2012-05-31 Martin Rudalics <rudalics@gmx.at>
5492 * desktop.el (desktop-read): Clear previous and next buffers for
5493 all windows and bury *Messages* buffer (bug#11556).
5495 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5497 Add `declare' for `defun'. Align `defmacro's with it.
5498 * emacs-lisp/easy-mmode.el (define-minor-mode)
5499 (define-globalized-minor-mode): Don't autoload the var definitions.
5500 * emacs-lisp/byte-run.el: Use lexical-binding.
5501 (defun-declarations-alist, macro-declarations-alist): New vars.
5502 (defmacro, defun): Use them.
5503 (make-obsolete, define-obsolete-function-alias)
5504 (make-obsolete-variable, define-obsolete-variable-alias):
5506 (macro-declaration-function): Mark obsolete.
5507 * emacs-lisp/autoload.el: Use lexical-binding.
5508 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5510 2012-05-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5512 * textmodes/ispell.el (ispell-with-no-warnings):
5514 (ispell-kill-ispell, ispell-change-dictionary):
5515 Use `called-interactively-p' for Emacs instead of obsolete
5518 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5520 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5521 (macro-declaration-function): Move var from C code.
5522 (macro-declaration-function): Define function with defalias.
5523 * emacs-lisp/macroexp.el (macroexpand-all-1):
5524 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5525 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5526 defun/defmacro any more.
5527 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5528 Provide fallback for unknown arglist.
5529 (byte-compile-arglist-warn): Change calling convention.
5530 (byte-compile-output-file-form): Move print-vars binding.
5531 (byte-compile-output-docform): Simplify accordingly.
5532 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5533 (byte-compile-defmacro-declaration): Remove.
5534 (byte-compile-file-form-defmumble): Generalize to defalias.
5535 (byte-compile-output-as-comment): Return byte-positions.
5536 Simplify callers accordingly.
5537 (byte-compile-lambda): Use `assert'.
5538 (byte-compile-defun, byte-compile-defmacro): Remove.
5539 (byte-compile-file-form-defalias):
5540 Use byte-compile-file-form-defmumble.
5541 (byte-compile-defalias-warn): Remove.
5543 2012-05-29 Stefan Merten <smerten@oekonux.de>
5545 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5546 possible. Fix authors. Improve comments. Improve loading of `cl'.
5548 (rst-mode-abbrev-table): Merge definition.
5549 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5550 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5552 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
5554 * calendar/icalendar.el
5555 (icalendar-export-region): Export UID properly.
5557 2012-05-29 Leo Liu <sdl.web@gmail.com>
5558 * calendar/icalendar.el (icalendar-import-format):
5559 Add `icalendar-import-format-uid' (Bug#11525).
5560 (icalendar-import-format-uid): New.
5561 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5564 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5566 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5567 different alternative patterns.
5568 (pcase-codegen): Be more careful to preserve identity.
5569 (pcase--u1): Don't forget to mark vars as used.
5571 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5572 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5573 (byte-compile-from-buffer): ...rather than here.
5575 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5576 functions from byte-compile-function-environment.
5578 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
5580 * window.el (window-deletable-p): Avoid deleting the root window
5581 of a frame with an active minibuffer.
5583 2012-05-29 Martin Rudalics <rudalics@gmx.at>
5585 * simple.el (choose-completion): Use quit-window (Bug#11567).
5587 2012-05-29 Chong Yidong <cyd@gnu.org>
5589 * whitespace.el (whitespace-cleanup): Fix usage of
5590 whitespace-empty-at-bob-regexp (Bug#11492).
5592 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5594 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5597 2012-05-29 Juri Linkov <juri@jurta.org>
5599 * isearch.el (isearch-mode-map): Bind `M-s _' to
5600 `isearch-toggle-symbol'. Bind `M-s c' to
5601 `isearch-toggle-case-fold'.
5602 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5603 (isearch-forward): Add `M-s _' to the docstring.
5604 (isearch-forward-symbol, isearch-toggle-case-fold)
5605 (isearch-symbol-regexp): New functions. (Bug#11381)
5607 2012-05-29 Juri Linkov <juri@jurta.org>
5609 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5610 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5611 a function, call it to get the regexp.
5612 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5613 property `isearch-message-prefix' instead of the string "word ".
5614 (isearch-search-fun-default): For the case of `isearch-word',
5615 return a lambda that calls re-search-forward/re-search-backward
5616 with a regexp returned by `word-search-regexp' or by the function
5619 2012-05-29 Juri Linkov <juri@jurta.org>
5621 * isearch.el (isearch-search-fun-default): New function.
5622 (isearch-search-fun): Move default part to the new function
5623 `isearch-search-fun-default'.
5624 (isearch-search-fun-function): Set the default value to
5625 `isearch-search-fun-default'. (Bug#11381)
5627 * comint.el (comint-history-isearch-end):
5628 Use `isearch-search-fun-default'.
5629 (comint-history-isearch-search): Use `isearch-search-fun-default'
5630 and remove spacial case for `isearch-word'.
5631 (comint-history-isearch-wrap): Remove spacial case for
5634 * hexl.el (hexl-isearch-search-function):
5635 Use `isearch-search-fun-default'.
5637 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5638 Use `word-search-regexp' for `isearch-word'.
5640 * misearch.el (multi-isearch-search-fun):
5641 Use `isearch-search-fun-default'.
5643 * simple.el (minibuffer-history-isearch-search):
5644 Use `isearch-search-fun-default' and remove spacial case for
5646 (minibuffer-history-isearch-wrap): Remove spacial case for
5649 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5650 Remove spacial case for `isearch-word'.
5651 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5653 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5655 Decrease XEmacs incompatibilities.
5656 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5658 (flyspell-delete-region-overlays): Use alternative definition for
5660 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5661 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5662 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5663 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5664 `define-obsolete-face-alias' under XEmacs, but old method.
5666 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5667 `with-no-warnings' definition or Emacs alias.
5668 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5669 (ispell-word): Do not use `region-p' if XEmacs.
5671 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5673 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5674 Check for `ispell-dictionary-base-alist' instead of full
5675 `ispell-dictionary-alist'.
5676 (ispell-init-process): Show spellchecker when starting new Ispell
5679 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5681 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5682 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5684 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
5686 * version.el (motif-version-string, gtk-version-string)
5687 (ns-version-string): Declare.
5689 2012-05-27 Juri Linkov <juri@jurta.org>
5691 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5692 after the `eval-defun-1' specialcaseing
5693 like in `edebug-eval-defun' (bug#10181).
5695 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5696 like in `eval-defun-1'.
5698 2012-05-27 Eli Zaretskii <eliz@gnu.org>
5700 * mail/sendmail.el (mail-yank-region):
5701 Recognize rmail-yank-current-message in addition to insert-buffer.
5702 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
5703 a *mail* buffer created through rmail-start-mail with sendmail as
5706 2012-05-27 Chong Yidong <cyd@gnu.org>
5708 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5709 Default to 256 (Bug#11267).
5711 * help.el (describe-mode): Doc fix.
5713 2012-05-26 Glenn Morris <rgm@gnu.org>
5715 * w32-fns.el (w32-init-info): Remove.
5716 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5718 * info.el (info-initialize): For self-contained NS builds, put the
5719 included info/ directory at the front. (Bug#2791)
5721 * paths.el (Info-default-directory-list): Make it a defcustom,
5722 mainly so that we can use custom-initialize-delay.
5724 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5726 * subr.el (buffer-has-markers-at): Mark obsolete.
5728 * subr.el (lambda): Use declare.
5730 * emacs-lisp/lisp-mode.el (lambda):
5731 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5733 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5735 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5737 2012-05-26 Glenn Morris <rgm@gnu.org>
5739 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5741 2012-05-25 Glenn Morris <rgm@gnu.org>
5743 * paths.el: Remove no-byte-compile.
5744 * loadup.el: No need to load paths.el uncompiled.
5746 * image.el (imagemagick-types-inhibit): Doc fix.
5748 * version.el: Remove no-byte-compile and associated formatting.
5749 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5750 is ancient code from when there was an "inc-vers.el".
5752 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5754 * progmodes/gdb-mi.el: Minor style changes.
5755 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5756 Turn into minor modes.
5757 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5758 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5759 (gdb-shell): Remove unneeded let-binding.
5760 (gdb-get-many-fields): Eliminate O(n²) behavior.
5762 2012-05-25 Eli Zaretskii <eliz@gnu.org>
5764 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5765 platforms that don't link in fontset.c.
5767 2012-05-25 Juri Linkov <juri@jurta.org>
5769 Use the same diff color scheme as in modern VCSes (bug#10181).
5771 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5772 to avoid confusion with `diff-added' that now uses green colors.
5773 (diff-removed): Use shades of red.
5774 (diff-added): Use shades of green.
5775 (diff-changed): Leave just the yellow color.
5776 (diff-use-changed-face): New variable.
5777 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5778 how to highlight context diff changes.
5779 (diff-refine-change): Use shades of yellow.
5780 (diff-refine-removed): New face that uses shades of red.
5781 (diff-refine-added): New face that uses shades of green.
5782 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5783 `diff-refine-removed' in the call to `smerge-refine-subst'
5784 depending on the value of `diff-use-changed-face'.
5786 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5787 (smerge-other): Use shades of green.
5788 (smerge-base): Use shades of yellow.
5789 (smerge-refined-change): Empty face.
5790 (smerge-refined-removed): New face that uses shades of red.
5791 (smerge-refined-added): New face that uses shades of green.
5792 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5793 args `props-r' and `props-a', and use them. Doc fix.
5794 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5795 on its value use different faces `smerge-refined-change',
5796 `smerge-refined-removed', `smerge-refined-added' in the call to
5797 `smerge-refine-subst'.
5799 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5800 Add face condition `min-colors 88' with shades of red.
5801 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5802 `min-colors 88' with shades of green.
5803 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5804 `min-colors 88' with shades of yellow.
5806 2012-05-24 Glenn Morris <rgm@gnu.org>
5808 * paths.el (prune-directory-list, remote-shell-program): Move to...
5809 * files.el (prune-directory-list, remote-shell-program): ...here.
5810 For the latter, delay initialization, prefer ssh, just search PATH.
5812 * paths.el (term-file-prefix): Move to faces.el (the only user).
5813 * faces.el (term-file-prefix): Move here, make it a defcustom.
5815 * paths.el (news-directory, news-path, news-inews-program):
5816 Move to gnus/nnspool.el.
5818 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5820 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5821 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5822 Make the latter a defcustom, with a delayed initialization.
5824 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5825 These were deleted from Gnus itself late 2010.
5827 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
5829 * progmodes/which-func.el (which-func-ff-hook):
5830 Check against user-error, not error.
5832 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5833 cl-specs.el, which no longer exists.
5835 2012-05-22 Glenn Morris <rgm@gnu.org>
5837 * info.el (info-emacs-bug): New command.
5838 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5839 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5841 2012-05-21 Glenn Morris <rgm@gnu.org>
5843 * makefile.w32-in (update-subdirs-SH):
5844 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5846 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5848 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5850 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5851 Simplify Maven regexp, and make sure the file can't start with a space
5854 2012-05-21 Glenn Morris <rgm@gnu.org>
5856 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5857 Scrap superfluous subshells.
5859 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5861 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5862 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5864 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5866 * calc/calc.el (calc-ensure-consistent-units): New variable.
5868 * calc/calc-units.el (math-consistent-units-p)
5869 (math-check-unit-consistency): New functions.
5870 (calc-quick-units, calc-convert-units):
5871 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5873 (calc-extract-units): Fix typo.
5875 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5877 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5879 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5880 (flyspell-default-deplacement-commands): Don't spell check after
5881 repeated window/frame switches (e.g. triggered by mouse-movement).
5882 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5883 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5884 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5885 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5887 (flyspell-get-casechars, flyspell-get-not-casechars):
5888 Simplify; Don't bother removing a ] just to add it back.
5889 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5891 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5893 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5895 (math-function-table): Add support for more C functions.
5897 2012-05-18 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5899 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5900 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5901 Protect delay handling for otherchars against empty otherchars.
5903 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5905 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5906 their respective macro declarations.
5907 * skeleton.el (define-skeleton):
5908 * progmodes/compile.el (define-compilation-mode):
5909 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5910 (define-ibuffer-filter):
5911 * emacs-lisp/generic.el (define-generic-mode):
5912 * emacs-lisp/easy-mmode.el (define-minor-mode)
5913 (define-globalized-minor-mode):
5914 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5915 * emacs-lisp/byte-run.el (defsubst):
5916 * custom.el (deftheme): Add doc-string metadata.
5918 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5920 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5922 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5924 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5926 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5927 * emacs-lisp/cl-macs.el: Idem.
5928 * emacs-lisp/cl-specs.el: Remove.
5930 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5932 Minor renaming of internal CL functions and variables.
5933 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5934 (cl--position): Rename from cl-position.
5935 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5936 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5937 (cl--random-state): Rename from *random-state*.
5939 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5941 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5942 parens around the arg list (bug#11499).
5944 2012-05-17 Juri Linkov <juri@jurta.org>
5946 * isearch.el (word-search-regexp, word-search-backward)
5947 (word-search-forward, word-search-backward-lax)
5948 (word-search-forward-lax): Move functions from search.c
5949 (bug#10145, bug#11381).
5951 2012-05-16 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5953 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5954 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5955 Delay for otherchars as for normal word components.
5957 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5959 * minibuffer.el (completion--sifn-requote): Fix last change.
5960 (minibuffer-local-must-match-filename-map):
5961 Move define-obsolete-variable-alias before its var.
5963 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5965 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5967 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5969 (completion--string-equal-p): New function.
5970 (completion--twq-all): Use it to get better assertion failure data.
5972 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5973 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5974 (shell--requote-argument): New functions.
5975 (shell-completion-vars): Use them.
5976 (shell--parse-pcomplete-arguments): Rename from
5977 shell-parse-pcomplete-arguments.
5978 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5979 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5980 Obey comint-file-name-quote-list.
5982 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5983 (smie-indent-keyword): Use it.
5985 2012-05-14 Stefan Merten <smerten@oekonux.de>
5987 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5989 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5991 * net/rlogin.el (rlogin-mode-map): Fix last change.
5993 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
5995 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5996 the following \r\n using a single `process-send-string', since the
5997 Lotus SMTP server refuses to accept any commands if they are sent
5998 with two `process-send-string's (Bug#11444).
6000 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6002 * shell.el (shell-parse-pcomplete-arguments):
6003 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6005 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6007 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6008 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6009 (image-transform-width, image-transform-fit-width): New functions.
6010 (image-transform-properties): Use them.
6011 (image-transform-check-size): New function.
6012 (image-toggle-display-image): Use it (for testing).
6013 (image-transform-set-rotation): Reduce angle mod 360.
6014 Delete obsolete comment.
6016 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6018 * image-mode.el: Fix scaling (bug#11399).
6019 (image-transform-resize): Doc fix.
6020 (image-transform-properties): Default scale is 1 and height should
6023 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6025 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6026 than hard-coding `car', to fix misbehavior when moving forward.
6028 2012-05-13 Chong Yidong <cyd@gnu.org>
6030 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6031 (tabulated-list-entries, tabulated-list-padding)
6032 (tabulated-list-sort-key): Make permanent-local.
6034 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6035 (electric-buffer-list): Put electric buffer menu
6036 command descriptions in this docstring, instead of the docstring
6037 of electric-buffer-menu-mode. Code cleanups.
6038 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6039 Electric-buffer-menu-mode.
6040 (electric-buffer-update-highlight): Minor code cleanup.
6042 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6044 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6047 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6049 Move define-obsolete-variable-alias before the var's definition.
6050 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6051 * tooltip.el (tooltip-hook):
6052 * textmodes/reftex-toc.el (reftex-toc-map):
6053 * textmodes/reftex-sel.el (reftex-select-label-map)
6054 (reftex-select-bib-map):
6055 * textmodes/reftex-index.el (reftex-index-map)
6056 (reftex-index-phrases-map):
6057 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6058 * progmodes/meta-mode.el (meta-mode-map):
6059 * novice.el (disabled-command-hook):
6060 * loadhist.el (unload-hook-features-list):
6061 * frame.el (blink-cursor):
6062 * files.el (find-file-not-found-hooks, write-file-hooks)
6063 (write-contents-hooks):
6064 * emulation/tpu-edt.el (GOLD-map):
6065 * emacs-lock.el (emacs-lock-from-exiting):
6066 * emacs-lisp/generic.el (generic-font-lock-defaults):
6067 * emacs-lisp/chart.el (chart-map):
6068 * dos-fns.el (register-name-alist):
6069 * dired-x.el (dired-omit-files-p):
6070 * desktop.el (desktop-enable):
6071 * cus-edit.el (custom-mode-hook):
6072 * buff-menu.el (buffer-menu-mode-hook):
6073 * bookmark.el (bookmark-read-annotation-text-func)
6074 (bookmark-exit-hooks):
6075 * allout.el (allout-mode-deactivate-hook)
6076 (allout-exposure-change-hook, allout-structure-added-hook)
6077 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6078 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6079 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6080 comes before the corresponding variable's definition.
6082 2012-05-12 Chong Yidong <cyd@gnu.org>
6084 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6085 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6086 (Buffer-menu-mode-map): Bind it.
6087 (Buffer-menu--pretty-name): Add a mouse-face property.
6089 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6091 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6092 (prolog-upper-case-string, prolog-lower-case-string)
6093 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6094 (prolog-use-smie, prolog-smie-grammar): New vars.
6095 (prolog-smie-forward-token, prolog-smie-backward-token)
6096 (prolog-smie-rules): New funs.
6097 (prolog-comment-indent): Remove.
6098 (prolog-mode-variables): Use default comment indentation instead.
6100 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6101 (prolog-mode): Don't call them any more.
6102 (prolog-electric-colon, prolog-electric-dash)
6103 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6105 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6107 * minibuffer.el (completion--twq-all): Again, allow case differences.
6109 * term.el: Move keymap initialization code to be more idiomatic.
6110 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6111 (term-terminal-menu): Move initialization into declaration.
6112 (term-escape-char): Let the user set it in her .emacs.
6114 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6115 Provide SMIE-based indentation (not enabled by default yet).
6116 (sh-mode-map): Don't bind electric keys.
6117 Use electric-pair-mode instead of skeleton-pair.
6118 (sh-assignment-regexp): Fit within 80 columns.
6119 (sh-indent-supported): Specify actual shell name instead of boolean.
6120 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6121 (sh-maybe-here-document): Use it. Make obsolete.
6122 (sh-electric-here-document-mode) New minor mode.
6123 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6124 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6125 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6126 (sh-smie-rc-grammar, sh-use-smie): New vars.
6127 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6128 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6129 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6130 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6131 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6132 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6133 (sh-set-shell): Use smie-setup if requested.
6135 * term.el (term-set-escape-char): Properly set term-escape-char.
6136 See http://stackoverflow.com/questions/10524656.
6138 2012-05-10 Chong Yidong <cyd@gnu.org>
6140 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6141 Use url-generic-parse-url, and handle host names and Windows
6143 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6144 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6145 URL schemes to work on.
6146 (ffap--toggle-read-only): New function.
6147 (ffap-read-only, ffap-read-only-other-window)
6148 (ffap-read-only-other-frame): Use it.
6149 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6150 necessary for ffap-url-unwrap-remote.
6152 2012-05-10 Dave Abrahams <dave@boostpro.com>
6154 * cus-start.el (create-lockfiles): Add it.
6156 2012-05-09 Chong Yidong <cyd@gnu.org>
6158 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6159 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6161 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6163 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6165 2012-05-09 Chong Yidong <cyd@gnu.org>
6167 * ansi-color.el (ansi-color-process-output): Check for validity of
6168 comint-last-output-start before using it. This avoids a bad
6169 interaction with gdb-mi's input/output buffer.
6171 2012-05-09 Glenn Morris <rgm@gnu.org>
6173 * files.el (dir-locals-read-from-file):
6174 Mention dir-locals in any error message.
6176 2012-05-09 Chong Yidong <cyd@gnu.org>
6178 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6179 package (Bug#11410).
6181 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6182 variables into description.
6184 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6186 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6187 shell-delimiter-argument-list (bug#11348).
6188 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6190 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6192 * textmodes/rst.el: Silence byte-compiler warnings.
6193 (rst-re-alist, rst-reset-section-caches): Move around.
6194 (rst-re): Use `characterp', not `char-valid-p'.
6195 (font-lock-beg, font-lock-end): Declare.
6197 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6198 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6200 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6202 2012-05-08 Glenn Morris <rgm@gnu.org>
6204 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6206 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6208 * vc/log-edit.el: Add GNU coding standards highlighting.
6209 (log-edit-font-lock-gnu-style)
6210 (log-edit-font-lock-gnu-keywords): New vars.
6211 (log-edit-font-lock-keywords): New fun.
6212 (log-edit-mode): Don't fold case in font-lock.
6213 (log-edit-font-lock-keywords): Do not assume case-folding.
6215 * imenu.el: Misc cleanup. Make docstrings out of comments.
6216 Use lexical-binding.
6217 (imenu--index-alist, imenu--last-menubar-index-alist)
6218 (imenu-menubar-modified-tick): Use defvar-local.
6219 (imenu--split-menu): Remove unused var.
6220 (imenu--cleanup-seen): Declare as global.
6221 (imenu--cleanup): Use dolist.
6223 * subr.el (defvar-local): Add debug spec and doc-string position.
6225 2012-05-08 Glenn Morris <rgm@gnu.org>
6227 * language/burmese.el, language/cham.el, language/czech.el:
6228 * language/english.el, language/georgian.el, language/greek.el:
6229 * language/japanese.el, language/khmer.el, language/korean.el:
6230 * language/lao.el, language/misc-lang.el, language/romanian.el:
6231 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6232 * language/thai.el, language/utf-8-lang.el:
6233 Remove no-byte-compile setting.
6235 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6237 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6239 * progmodes/make-mode.el (makefile-browse):
6240 Remove unnecessary interactive. (Bug#11324)
6242 2012-05-07 Glenn Morris <rgm@gnu.org>
6244 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6246 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6248 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6250 * loadup.el: Preload newcomment.el.
6251 * newcomment.el: Move autoload-only code to toplevel.
6253 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6254 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6255 Handle new :right-align column property.
6256 (tabulated-list-print-col): Idem, plus use `display' text-property to
6257 try and preserve alignment for variable pitch fonts.
6259 2012-05-07 Chong Yidong <cyd@gnu.org>
6261 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6262 (tabulated-list-use-header-line): New var.
6263 (tabulated-list-init-header): Use it.
6264 (tabulated-list-print-fake-header): New function.
6265 (tabulated-list-print): Use it.
6266 (tabulated-list-sort-button-map): Add non-header-line commands.
6267 (tabulated-list-init-header): Add column name property to basic
6269 (tabulated-list-col-sort): Handle non-header-line button case.
6270 (tabulated-list--sort-by-column-name): Fix a corner case.
6272 * buff-menu.el (list-buffers--refresh):
6273 Handle Buffer-menu-use-header-line.
6275 2012-05-06 Chong Yidong <cyd@gnu.org>
6277 * buff-menu.el: Convert to Tabulated List mode.
6278 (Buffer-menu-buffer+size-width): Make obsolete.
6279 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6280 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6281 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6282 documentation into docstring of buffer-menu.
6283 (Buffer-menu-toggle-files-only): Add an informative message.
6284 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6285 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6286 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6287 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6288 (Buffer-menu-execute, Buffer-menu-select)
6289 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6290 (Buffer-menu-bury): Use Tabulated List machinery.
6291 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6292 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6294 (list-buffers--refresh): New function.
6295 (list-buffers-noselect): Use it.
6296 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6297 (Buffer-menu--pretty-file-name): New helper functions.
6299 * loadup.el: Preload tabulated-list.
6301 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6302 tabulated-list-sort-column.
6303 (tabulated-list-init-header): Add the initial aligning space even
6304 if tabulated-list-padding is zero.
6306 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6308 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6309 whose cdr is not a cons cell correctly (bug#11038).
6311 2012-05-06 Chong Yidong <cyd@gnu.org>
6313 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6314 Accept additional plist in column descriptors.
6315 (tabulated-list-init-header): Obey it.
6316 (tabulated-list-get-entry): New function.
6317 (tabulated-list-put-tag): Use it. Use string-width instead of
6319 (tabulated-list--column-number): New function.
6320 (tabulated-list-print): Use it.
6321 (tabulated-list-print-col): New function.
6322 Set `tabulated-list-column-name' property on each column's text.
6323 (tabulated-list-print-entry): Use it.
6324 (tabulated-list-delete-entry, tabulated-list-set-col):
6326 (tabulated-list-sort-column): New command (Bug#11337).
6328 * buff-menu.el (list-buffers): Move C-x C-b binding from
6329 buff-menu.el to bindings.el.
6331 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6332 :advertised-binding feature.
6334 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6336 * progmodes/compile.el (compilation-internal-error-properties):
6337 Calculate start position correctly when end-col is set but
6338 end-line is not (Bug#11382).
6340 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6342 * man.el (Man-unindent): Use text-property-default-nonsticky to
6343 prevent untabify from inheriting face properties (Bug#11408).
6345 2012-05-05 Stefan Merten <smerten@oekonux.de>
6347 * textmodes/rst.el: Major merge with upstream development up to
6348 Docutils SVN r7399 / rst.el V1.2.1.
6350 Clarify maintainership and authors.
6352 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6353 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6354 (rst-official-version, rst-official-cvs-rev, rst-version)
6355 (rst-package-emacs-version-alist): New functions and variables
6356 for version information.
6358 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6359 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6360 (rst-mode-syntax-table, rst-mode): New and corrected functions
6361 and variables representing reStructuredText features.
6363 (rst-re): New function for reStructuredText regexes. Use in
6366 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6367 (rst-mode-map): Rebind keys.
6369 (rst-mode-lazy, rst-font-lock-keywords)
6370 (rst-font-lock-extend-region)
6371 (rst-font-lock-extend-region-internal)
6372 (rst-font-lock-extend-region-extend)
6373 (rst-font-lock-find-unindented-line-limit)
6374 (rst-font-lock-find-unindented-line-match)
6375 (rst-adornment-level, rst-font-lock-adornment-level)
6376 (rst-font-lock-adornment-match)
6377 (rst-font-lock-handle-adornment-pre-match-form)
6378 (rst-font-lock-handle-adornment-matcher): Major revision of
6379 font-locking. Integrate with other code. Use `jit-lock-mode'.
6381 (rst-preferred-adornments, rst-adjust-hook)
6382 (rst-new-adornment-down, rst-preferred-bullets)
6383 (rst-preferred-bullets, rst-indent, rst-indent-width)
6384 (rst-indent-field, rst-indent-literal-normal)
6385 (rst-indent-literal-minimized, rst-indent-comment): Change,
6386 extend and improve customization.
6388 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6389 (rst-normalize-cursor-position, rst-get-decoration)
6390 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6391 (rst-rstrip, rst-toc-insert-find-delete-contents)
6392 (rst-shift-fill-region, rst-compute-bullet-tabs)
6393 (rst-debug-print-tabs, rst-debug-mark-found)
6394 (rst-shift-region-guts, rst-shift-region-right)
6395 (rst-shift-region-left, rst-use-char-classes)
6396 (rst-font-lock-keywords-function)
6397 (rst-font-lock-indentation-point)
6398 (rst-font-lock-find-unindented-line-begin)
6399 (rst-font-lock-find-unindented-line-end)
6400 (rst-font-lock-find-unindented-line)
6401 (rst-font-lock-adornment-point, rst-font-lock-level)
6402 (rst-adornment-level-alist): Remove functions and variables.
6404 (rst-compare-adornments, rst-get-adornment-match)
6405 (rst-suggest-new-adornment, rst-get-adornments-around)
6406 (rst-adornment-complete-p, rst-get-next-adornment)
6407 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6408 (rst-straighten-adornments): Standardize function names to
6409 use "adornment" instead of "decoration". Correct callers.
6410 Similar standardizing in many places.
6412 (rst-update-section, rst-adjust, rst-promote-region)
6413 (rst-enumerate-region, rst-bullet-list-region)
6414 (rst-repeat-last-character): Correct use of `interactive'.
6416 (rst-classify-adornment, rst-find-all-adornments)
6417 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6418 (rst-find-leftmost-column, rst-repeat-last-character):
6421 (rst-find-title-line, rst-reset-section-caches)
6422 (rst-get-adornments-around, rst-adjust-adornment-work)
6423 (rst-arabic-to-roman, rst-roman-to-arabic)
6424 (rst-insert-list-pos, rst-insert-list-new-item)
6425 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6428 (rst-all-sections, rst-section-hierarchy)
6429 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6432 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6433 configuration instead of only buffer. Change where necessary.
6435 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6436 (rst-shift-region, rst-adaptive-fill): New functions for
6437 indentation and filling.
6439 (rst-comment-line-break, rst-comment-indent)
6440 (rst-comment-insert-comment, rst-comment-region)
6441 (rst-uncomment-region): New functions for handling comments.
6443 (rst-compile): Quote shell arguments.
6445 (rst-compile-pdf-preview, rst-compile-slides-preview):
6446 Delete temporary files after use.
6448 2012-05-05 Glenn Morris <rgm@gnu.org>
6450 * calendar/cal-html.el: Optionally include holidays in the output.
6451 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6452 (cal-html-holidays): New option.
6453 (cal-html-css-default): Add holiday entry.
6454 (holiday-in-range): Autoload it.
6455 (cal-html-htmlify-entry): Add optional class argument.
6456 (cal-html-htmlify-list): Add optional holidays argument.
6457 (cal-html-insert-agenda-days): Include holidays in the output.
6458 (cal-html-one-month): Maybe include holidays.
6460 * calendar/holidays.el (holiday-in-range):
6461 Move here from cal-tex-list-holidays.
6462 * calendar/cal-tex.el (cal-tex-list-holidays):
6463 Make it an obsolete alias for holiday-in-range. Update all callers.
6465 2012-05-05 Chong Yidong <cyd@gnu.org>
6467 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6470 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6472 * files.el (file-auto-mode-skip): New var.
6473 (set-auto-mode-1): Use it.
6475 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6477 * repeat.el: Use lexical-binding.
6478 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6479 (repeat-undo-count): Remove.
6481 * progmodes/octave-mod.el (octave-abbrev-start):
6482 * progmodes/f90.el (f90-abbrev-start):
6483 * face-remap.el (text-scale-adjust):
6484 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6486 * emacs-lisp/pcase.el (pcase--let*): New function.
6487 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6489 (pcase--split-pred): Be more clever about ruling out overlap between
6490 a predicate and some constant pattern.
6491 (pcase--q1): Use `null' instead of (eq foo nil).
6493 * subr.el (setq-local, defvar-local): New macros.
6494 (kbd): Redefine as an alias.
6495 (with-selected-window): Leave unrelated frames alone.
6496 (set-temporary-overlay-map): New function.
6498 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6500 * subr.el (user-error): New function.
6501 * window.el (switch-to-buffer):
6502 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6503 (smerge-match-conflict):
6504 * simple.el (previous-matching-history-element)
6505 (next-matching-history-element, goto-history-element, undo-more)
6507 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6508 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6509 (next-file, tags-loop-scan, list-tags, complete-tag):
6510 * progmodes/compile.el (compilation-loop):
6511 * mouse.el (mouse-minibuffer-check):
6512 * man.el (Man-bgproc-sentinel, Man-goto-page):
6513 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6514 (Info-history-forward, Info-follow-reference, Info-menu)
6515 (Info-extract-menu-item, Info-extract-menu-counting)
6516 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6517 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6518 (Info-next-reference, Info-prev-reference, Info-index)
6519 (Info-index-next, Info-follow-nearest-node)
6520 (Info-copy-current-node-name):
6521 * imenu.el (imenu--make-index-alist)
6522 (imenu-default-create-index-function, imenu-add-to-menubar):
6523 * files.el (basic-save-buffer, recover-file):
6524 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6525 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6526 (checkdoc-message-text, checkdoc-defun):
6527 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6528 * cus-edit.el (customize-changed-options, customize-rogue)
6529 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6530 (custom-variable-mark-to-reset-standard)
6531 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6533 * completion.el (check-completion-length):
6534 * comint.el (comint-search-arg)
6535 (comint-previous-matching-input-string-position)
6536 (comint-previous-matching-input)
6537 (comint-replace-by-expanded-history-before-point, comint-send-input)
6538 (comint-copy-old-input, comint-backward-matching-input)
6539 (comint-goto-process-mark, comint-set-process-mark):
6540 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6541 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6543 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6545 * dabbrev.el (dabbrev--ignore-case-p): New function.
6546 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6549 * files.el (automount-dir-prefix): Mark as obsolete.
6551 2012-05-04 Glenn Morris <rgm@gnu.org>
6553 * patcomp.el, play/bruce.el: Move to obsolete/.
6555 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6557 Fix minor Y10k bugs.
6558 * arc-mode.el (archive-unixdate):
6559 * autoinsert.el (auto-insert-alist):
6560 * calc/calc-forms.el (math-this-year):
6561 * emacs-lisp/copyright.el (copyright-current-year)
6562 (copyright-update-year, copyright):
6563 * tar-mode.el (tar-clip-time-string):
6564 * time.el (display-time-update):
6565 Don't assume years have 4 digits.
6567 2012-05-04 Chong Yidong <cyd@gnu.org>
6569 * dos-w32.el (file-name-buffer-file-type-alist)
6570 (direct-print-region-use-command-dot-com):
6571 * ffap.el (ffap-menu-regexp):
6572 * find-file.el (ff-special-constructs):
6573 * follow.el (follow-debug):
6574 * forms.el (forms--debug):
6575 * iswitchb.el (iswitchb-all-frames):
6576 * ido.el (ido-all-frames):
6577 * emacs-lisp/timer.el (timer-max-repeats):
6578 * mail/feedmail.el (feedmail-mail-send-hook)
6579 (feedmail-mail-send-hook-queued):
6580 * mail/footnote.el (footnote-signature-separator):
6581 * mail/mailabbrev.el (mail-alias-separator-string)
6582 (mail-abbrev-mode-regexp):
6583 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6584 * progmodes/idlwave.el (idlwave-libinfo-file)
6585 (idlwave-default-completion-case-is-down)
6586 (idlwave-library-routines): Convert defvars to defcustoms.
6588 * mail/rmail.el (rmail-decode-mime-charset):
6589 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6590 (idlwave-shell-fix-inserted-breaks)
6591 (idlwave-shell-activate-alt-keybindings)
6592 (idlwave-shell-use-breakpoint-glyph):
6593 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6595 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6597 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6599 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6601 * progmodes/verilog-mode.el (font-lock-keywords):
6602 Fix mis-highligting auto. Reported by Craig Barner.
6603 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6604 defines from global name space. Reported by Dan Dever.
6605 (verilog-auto-reset, verilog-auto-reset-widths)
6606 (verilog-auto-tieoff): Support using unbased numbers for
6607 AUTORESET and AUTOTIEOFF.
6608 (verilog-submit-bug-report): Update variable list.
6609 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6610 parenthesis from not matching. Reported by Michael Rytting.
6611 (verilog-auto-template-lint): Fix hash error when linting modules
6612 with no used templates.
6613 (verilog-warn, verilog-warn-error)
6614 (verilog-warn-fatal): When non-interactive report multiple
6615 warnings before exiting. Suggested by Brad Dobbie.
6616 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6617 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6618 to report unused template errors. Reported by Brad Dobbie.
6619 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6620 nets, bug438. Reported by Vns Blore.
6621 (verilog-auto-inout-module, verilog-auto-reg)
6622 (verilog-read-decls, verilog-read-sub-decls-sig)
6623 (verilog-signals-edit-wire-reg, verilog-signals-with):
6624 Fix passing of Verilog data types in ANSI input/output ports
6625 such as "output logic" into the AUTOs. Special case "wire" and
6626 "reg" for backwards compatibility presuming Verilog 2001.
6627 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6628 (verilog-preprocess): Fix replication of preprocess output.
6629 Reported by Brad Dobbie.
6630 (verilog-auto-inst-interfaced-ports):
6631 Create verilog-auto-inst-interfaced-ports, bug429.
6632 Reported by Julian Gorfajn.
6633 (verilog-after-save-font-hook)
6634 (verilog-before-save-font-hook): New variable.
6635 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6636 (verilog-save-font-mods): Wrap disabling fontification, reported
6638 (verilog-do-indent, verilog-pretty-declarations-auto)
6639 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6640 Reported by Pierre-David Pfister.
6641 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6642 of class declarations, bug292. Reported by Kevin Heilman.
6643 (verilog-read-decls): Fix 'parameter type' not appearing in
6644 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6645 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6646 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6647 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6648 Reported by David Kravitz.
6650 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
6652 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6653 assignment with tests in ifs and for loops.
6654 (verilog-extended-complete-re, verilog-complete-reg): Change so
6655 that DPI inport functions don't look like fuction declarations.
6656 (verilog-pretty-expr): Don't line up assignment
6657 operations to the test and increment in if and for loops
6658 (verilog-extended-complete-re, verilog-complete-reg): Change so
6659 that DPI inport functions don't look like fuction declarations.
6661 2012-05-03 Kenichi Handa <handa@m17n.org>
6663 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6664 decoding, and show a warning message without signaling an error
6667 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6669 * emacs-lisp/bytecomp.el
6670 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6671 since cconv.el might have introduced :fun-body, internal-make-closure,
6672 and friends for bytecomp to handle (bug#11391).
6673 * custom.el (defcustom): Avoid ((λ ..) ..).
6675 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6677 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6679 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
6681 * notifications.el (dbus-debug):
6682 * term/linux.el (gpm-mouse-enable):
6683 * term/screen.el (xterm-register-default-colors): Declare.
6685 2012-05-02 Chong Yidong <cyd@gnu.org>
6687 * cus-start.el (gc-cons-percentage, exec-suffixes)
6688 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6689 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6690 (make-cursor-line-fully-visible, void-text-area-pointer)
6691 (font-list-limit): Add customization data.
6693 * allout.el (allout-exposure-change-functions)
6694 (allout-structure-added-functions)
6695 (allout-structure-deleted-functions)
6696 (allout-structure-shifted-functions): Rename abnormal hooks from
6697 *-hook, and convert to defcustoms.
6698 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6699 Convert to defcustoms.
6700 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6702 * allout-widgets.el: Hook callers changed.
6704 2012-05-02 Eli Zaretskii <eliz@gnu.org>
6706 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6707 the yanked message in preference to the default value of
6708 buffer-file-coding-system.
6710 2012-05-02 Martin Rudalics <rudalics@gmx.at>
6712 * window.el (display-buffer--action-function-custom-type):
6715 2012-05-02 Alan Mackenzie <acm@muc.de>
6717 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6719 2012-05-01 Glenn Morris <rgm@gnu.org>
6721 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6723 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6725 * cus-edit.el (custom-variable-documentation): Simplify with format.
6727 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6728 Stefan Monnier <monnier@iro.umontreal.ca>
6730 * simple.el (suggest-key-bindings, execute-extended-command):
6731 Move from keyboard.c.
6733 2012-05-01 Chong Yidong <cyd@gnu.org>
6735 * follow.el: Eliminate advice.
6736 (set-process-filter, process-filter, sit-for): Advice deleted.
6737 (follow-mode-off-hook): Obsolete hook removed.
6738 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6740 (follow-auto): Use a :set function.
6741 (follow-mode): Rewritten. Don't advise process filters.
6742 (follow-switch-to-current-buffer-all, follow-scroll-up)
6743 (follow-scroll-down): Assume follow-mode is bound.
6744 (follow-comint-scroll-to-bottom)
6745 (follow-align-compilation-windows): New functions.
6746 (follow--window-sorter): New function.
6747 (follow-all-followers): Use it to explicitly sort windows by their
6748 positions; don't make assumptions about next-window order.
6749 (follow-windows-start-end, follow-delete-other-windows-and-split)
6750 (follow-calc-win-start): Doc fix.
6751 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6752 vertical-motion unnecessarily.
6753 (follow-adjust-window): New function.
6754 (follow-post-command-hook): Use it.
6755 (follow-call-set-process-filter, follow-call-process-filter)
6756 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6757 (follow-stop-intercept-process-output, follow-generic-filter):
6759 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6760 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6761 New functions, replacing advice on scroll-bar-* commands.
6762 (follow-mwheel-scroll): New function (Bug#4112).
6764 * comint.el (comint-adjust-point): New function.
6765 (comint-postoutput-scroll-to-bottom): Use it.
6766 Call follow-comint-scroll-to-bottom for Follow mode buffers.
6768 2012-05-01 Glenn Morris <rgm@gnu.org>
6770 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6771 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6772 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6773 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6774 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6775 Remove no-byte-compile setting.
6777 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6779 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6780 all-completions code to not return a number in the last cdr.
6782 2012-04-30 Leo Liu <sdl.web@gmail.com>
6784 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6787 2012-04-29 Chong Yidong <cyd@gnu.org>
6789 * follow.el (follow-calc-win-end): Rewrite to handle partial
6790 screen lines correctly (Bug#8390).
6791 (follow-avoid-tail-recenter): Minor cleanup.
6793 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6795 Avoid the obsolete `assoc' package.
6796 * speedbar.el (speedbar-refresh): Avoid adelete.
6797 (speedbar-file-lists): Simplify and avoid aput.
6798 * man.el (Man--sections, Man--refpages): New vars, replacing
6799 Man-sections-alist and Man-refpages-alist.
6800 (Man-build-section-alist, Man-build-references-alist):
6801 Use them; avoid aput.
6802 (Man--last-section, Man--last-refpage): New vars.
6803 (Man-follow-manual-reference): Use them.
6804 Use the `default' arg of completing-read.
6805 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6807 2012-04-27 Chong Yidong <cyd@gnu.org>
6809 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6811 * startup.el (x-apply-session-resources): New function.
6813 * term/ns-win.el (ns-initialize-window-system):
6814 * term/w32-win.el (w32-initialize-window-system):
6815 * term/x-win.el (x-initialize-window-system): Use it to properly
6816 set menu-bar-mode and other vars from X resources, even if the
6817 initial frame is not a window-system frame (Bug#2299).
6819 * subr.el (read-key): Avoid running filter function when setting
6820 up temporary tool bar entries (Bug#9922).
6822 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6824 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6827 2012-04-27 Chong Yidong <cyd@gnu.org>
6829 * select.el (xselect--encode-string): New function, split from
6830 xselect-convert-to-string.
6831 (xselect-convert-to-string): Use it.
6832 (xselect-convert-to-filename, xselect-convert-to-os)
6833 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6834 returned strings are properly encoded (Bug#11315).
6836 2012-04-27 Chong Yidong <cyd@gnu.org>
6838 * simple.el (delete-active-region): Move to killing custom group.
6840 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6842 * progmodes/which-func.el (which-func-current): Quote %
6843 characters for mode-line processing.
6845 2012-04-27 Chong Yidong <cyd@gnu.org>
6847 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6848 reaching eob (Bug#11286).
6850 2012-04-27 Eli Zaretskii <eliz@gnu.org>
6852 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6853 (gdb): Make it buffer-local and init to zero.
6854 (gdb-control-commands-regexp): New variable.
6855 (gdb-send): Don't wrap in "-interpreter-exec console" if
6856 gdb-control-level is positive. Increment gdb-control-level
6857 whenever the command matches gdb-control-commands-regexp, and
6858 decrement it each time the command is "end". (Bug#11279)
6860 2012-04-27 Martin Rudalics <rudalics@gmx.at>
6862 * window.el (adjust-window-trailing-edge, enlarge-window)
6863 (shrink-window, window-resize):
6864 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6865 windows (Bug#11276).
6867 2012-04-27 Chong Yidong <cyd@gnu.org>
6869 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6870 fix "missing prefix" warning. All callers changed.
6872 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6874 * emacs-lisp/assoc.el: Move to obsolete/.
6876 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6878 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6880 * term/ns-win.el (ns-define-service):
6881 * progmodes/pascal.el (pascal-goto-defun):
6882 * progmodes/js.el (js--read-tab):
6883 * progmodes/etags.el (tags-lazy-completion-table):
6884 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6885 * emacs-lisp/ewoc.el (ewoc--wrap):
6886 * emacs-lisp/assoc.el (aput, adelete, amake):
6887 * doc-view.el (doc-view-convert-current-doc):
6888 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6890 2012-04-26 Chong Yidong <cyd@gnu.org>
6892 * image.el (image-type-from-buffer): Only return supported image
6895 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6896 value, for symmetry with diff-end-of-hunk.
6897 (diff-split-hunk, diff-find-source-location)
6898 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6899 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6900 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6901 compute the relevant hunk or file properly (Bug#6005).
6902 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6904 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6913 * vc/vc.el: Replace lexical-let by lexical-binding.
6914 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6915 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6916 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6918 2012-04-26 Chong Yidong <cyd@gnu.org>
6920 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6921 (diff-mode-shared-map): Bind it to / and [remap undo].
6923 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6924 (ediff-window-setup-function): Use it as the default, to set up
6925 windows based on whether the current frame is graphical (Bug#2138).
6926 (ediff-choose-window-setup-function-automatically): Make obsolete.
6928 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6930 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6932 * ffap.el: Remove old code for obsolete package.
6933 (ffap-complete-as-file-p): Remove.
6935 Use completion-table-with-quoting for comint and pcomplete.
6936 * comint.el (comint--unquote&requote-argument)
6937 (comint--unquote-argument, comint--requote-argument): New functions.
6938 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6939 (comint-quote-filename): Use regexp-opt-charset.
6940 (comint--common-suffix, comint--common-quoted-suffix)
6941 (comint--table-subvert): Remove.
6942 (comint-unquote-function, comint-requote-function): New vars.
6943 (comint--complete-file-name-data): Use them with
6944 completion-table-with-quoting.
6945 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6946 * pcomplete.el (pcomplete-arg-quote-list)
6947 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6948 (pcomplete-unquote-argument-function): Default to non-nil.
6949 (pcomplete-unquote-argument): Simplify.
6950 (pcomplete--common-quoted-suffix): Remove.
6951 (pcomplete-requote-argument-function): New var.
6952 (pcomplete--common-suffix): New function.
6953 (pcomplete-completions-at-point): Use completion-table-with-quoting
6954 and completion-table-subvert.
6956 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6957 (minibuffer--double-dollars): Preserve properties.
6958 (completion--sifn-requote): New function.
6959 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6961 * minibuffer.el: Add support for completion of quoted/escaped data.
6962 (completion-table-with-quoting, completion-table-subvert): New funs.
6963 (completion--twq-try, completion--twq-all): New functions.
6964 (completion--nth-completion): New function.
6965 (completion-try-completion, completion-all-completions): Use it.
6967 2012-04-25 Leo Liu <sdl.web@gmail.com>
6969 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6970 Use compilation-message if available to find real filename.
6972 2012-04-25 Chong Yidong <cyd@gnu.org>
6974 * vc/diff-mode.el (diff-setup-whitespace): New function.
6975 (diff-mode): Use it.
6977 * vc/diff.el (diff-sentinel):
6978 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6979 Whitespace mode variables based on diff style (Bug#8612).
6981 2012-04-25 Leo Liu <sdl.web@gmail.com>
6983 * progmodes/python.el (python-send-region): Add suffix .py to the
6986 * files.el (auto-mode-alist): Use javascript-mode instead.
6988 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6990 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
6992 * net/soap-client.el (soap-resolve-references-for-sequence-type)
6993 (soap-resolve-references-for-array-type): Hack to prevent self
6994 references, see Bug#9.
6995 (soap-parse-envelope): Report the contents of the 'detail' node
6996 when receiving a fault reply.
6997 (soap-parse-envelope): Report the contents of the entire 'detail' node.
6999 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7000 (soap-inspect-simple-type): New function.
7002 * net/soap-client.el (soap-simple-type): New struct.
7003 (soap-default-xsd-types, soap-default-soapenc-types)
7004 (soap-decode-basic-type, soap-encode-basic-type):
7005 support unsignedInt and double basic types.
7006 (soap-resolve-references-for-simple-type)
7007 (soap-parse-simple-type, soap-encode-simple-type): New function.
7008 (soap-parse-schema): Parse xsd:simpleType declarations.
7010 * net/soap-client.el (soap-default-xsd-types)
7011 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7012 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7013 the local name of "soapenc:Array".
7014 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7015 decoding integer, byte and anyURI xsd types.
7017 2012-04-25 Chong Yidong <cyd@gnu.org>
7019 * cus-edit.el (custom-buffer-create-internal): Update header text.
7021 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7023 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7024 settings on 'system-type', not on 'window-system'. On MS-Windows,
7025 set interactive-mode on in GDB.
7027 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7029 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7030 (ruby-syntax-propertize-regexp): Remove.
7031 (ruby-syntax-propertize-function): Split regexp into chunks.
7032 Match following code directly.
7034 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7036 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7037 (ruby-syntax-propertize-regexp): New function.
7038 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7039 by a special keyword.
7041 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7042 (ruby-syntax-general-delimiters-goto-beg)
7043 (ruby-syntax-propertize-general-delimiters): New functions.
7044 (ruby-syntax-propertize-function): Use them to handle GDL.
7045 (ruby-font-lock-keywords): Move old handling of GDL...
7046 (ruby-font-lock-syntactic-keywords): .. to here.
7047 (ruby-calculate-indent): Adjust indentation for GDL.
7049 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7051 * notifications.el (top): Remove unneeded declarations.
7052 (notifications-specification-version): Change to "1.2".
7053 (notifications-interface, notifications-notify-method)
7054 (notifications-close-notification-method): Fix docstring.
7055 (notifications-get-capabilities-method): New defconst.
7056 (notifications-notify): Add :action-items, :resident and
7057 :transient hints. Change "image_data" to "image-data" and
7058 "image_path" to "image-path".
7059 (notifications-get-capabilities): New defun.
7061 2012-04-24 Leo Liu <sdl.web@gmail.com>
7063 * progmodes/python.el: Move hideshow setup to the end.
7065 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7067 * window.el (handle-select-window): Clear echo area since this is
7068 no more done by read_char (Bug#11304).
7070 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7072 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7073 and `/ M' to filter-derived-mode.
7074 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7075 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7076 (ibuffer-mark-by-mode): Use default rather than initial-input.
7077 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7079 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7081 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7082 (ibuffer-filter-by-derived-mode): New filter.
7083 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7085 2012-04-23 Andreas Politz <politza@fh-trier.de>
7087 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7089 2012-04-23 Chong Yidong <cyd@gnu.org>
7091 * cus-edit.el (customize-apropos, customize-apropos-options):
7092 Disable matching of non-option variables (Bug#11176).
7093 (customize-option, customize-option-other-window)
7094 (customize-changed-options): Doc fix.
7095 (customize-apropos-options, customize-apropos-faces)
7096 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7098 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7099 Fix word list splitting (Bug#11132).
7100 (apropos-symbol, apropos-keybinding, apropos-label)
7101 (apropos-property, apropos-function-button)
7102 (apropos-variable-button, apropos-misc-button): New faces.
7103 (apropos-symbol-face, apropos-keybinding-face)
7104 (apropos-label-face, apropos-property-face, apropos-match-face):
7105 Variables removed (Bug#8396).
7106 (apropos-library-button, apropos-format-plist, apropos-print)
7107 (apropos-print-doc, apropos-describe-plist): Callers changed.
7109 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7111 * net/xesam.el (xesam-mode-map): Use let-bound map in
7112 initialization. (Bug#11292)
7114 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
7116 Preserve ispell session localwords when switching back to
7119 * textmodes/ispell.el (ispell-buffer-session-localwords):
7120 New buffer-local variable to hold buffer session localwords.
7121 (ispell-kill-ispell): Add option 'clear to delete session
7123 (ispell-command-loop, ispell-change-dictionary)
7124 (ispell-buffer-local-words): Preserve session localwords when
7127 * textmodes/flyspell.el (flyspell-process-localwords)
7128 (flyspell-do-correct): Preserve session localwords when needed.
7130 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
7132 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7133 using obsolete `translation-table-for-input'.
7134 (ispell-word, ispell-process-line, ispell-complete-word):
7135 Use plain `insert' instead of removed `ispell-insert-word'.
7137 2012-04-22 Chong Yidong <cyd@gnu.org>
7139 * cus-edit.el (custom-variable-menu)
7140 (custom-variable-reset-saved, custom-face-menu)
7141 (custom-face-reset-saved): If there is no saved value, make the
7142 "reset-saved" operation bring back the default (Bug#9509).
7143 (custom-face-state): Properly detect themed faces.
7145 * faces.el (face-spec-set): Stop supporting deprecated form of
7148 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7150 Move functions from C to Lisp. Make non-blocking method calls
7151 the default. Implement further D-Bus standard interfaces.
7153 * net/dbus.el (dbus-message-internal): Declare function.
7154 Remove unneeded function declarations.
7155 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7156 (dbus-message-type-method-return, dbus-message-type-error)
7157 (dbus-message-type-signal): Declare variables. Remove local
7159 (dbus-interface-dbus, dbus-interface-peer)
7160 (dbus-interface-introspectable, dbus-interface-properties)
7161 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7163 (dbus-interface-objectmanager): New defconst.
7164 (dbus-call-method, dbus-call-method-asynchronously)
7165 (dbus-send-signal, dbus-method-return-internal)
7166 (dbus-method-error-internal, dbus-register-service)
7167 (dbus-register-signal, dbus-register-method): New defuns, moved
7169 (dbus-call-method-handler, dbus-setenv)
7170 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7172 (dbus-call-method-non-blocking): Make it an obsolete function.
7173 (dbus-unregister-object, dbus-unregister-service)
7174 (dbus-handle-event, dbus-register-property)
7175 (dbus-property-handler): Obey the new structure of
7176 `bus-registered-objects'.
7177 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7178 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7179 Use `dbus-call-method'.
7181 2012-04-22 Chong Yidong <cyd@gnu.org>
7183 * cus-edit.el (custom-commands, custom-reset-menu)
7184 (Custom-reset-standard): Tweak labels.
7185 (custom-reset-button-menu): Change default to t.
7186 (custom-buffer-create-internal): For the custom-reset-button-menu
7187 case, put the revert button first.
7188 (custom-group-subtitle): New face.
7189 (custom-group-value-create): Align docstring to a specific column.
7191 * wid-edit.el (widget-documentation-link-add): Don't handle
7192 indentation in this function.
7193 (widget-documentation-string-indent-to): New function.
7194 (widget-documentation-string-value-create): Use it.
7196 * autorevert.el (auto-revert):
7197 * epg-config.el (epg):
7198 * ibuffer.el (ibuffer):
7201 * eshell/eshell.el (eshell):
7202 * net/ange-ftp.el (ange-ftp):
7203 * progmodes/ebnf2ps.el (postscript):
7204 * progmodes/flymake.el (flymake):
7205 * progmodes/prolog.el (prolog):
7206 * progmodes/verilog-mode.el (verilog-mode):
7207 * progmodes/which-func.el (which-func):
7208 * term/xterm.el (xterm):
7209 * textmodes/picture.el (picture):
7210 * textmodes/tildify.el (tildify):
7211 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7212 customization buffers.
7214 2012-04-22 Alan Mackenzie <acm@muc.de>
7216 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7217 Adding a ) can hide the resulting (..) from searches. Fix it.
7218 Bound the backward search to the position of the existing (.
7220 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
7222 * progmodes/verilog-mode.el (verilog-mode): Check whether
7223 which-func-modes is t before adding verilog-mode.
7224 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7226 2012-04-21 Leo Liu <sdl.web@gmail.com>
7228 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7230 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7232 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7233 filling of the last column of a table (Bug#5635).
7234 (woman-find-next-control-line): New arg, specifying an additional
7235 regexp component for the control line.
7236 (woman2-roff-buffer): Use it.
7237 (woman-break-table): New function.
7238 (woman2-TS): Use it.
7240 2012-04-21 Chong Yidong <cyd@gnu.org>
7242 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7243 (woman-horizontal-escapes, woman-negative-vertical-space)
7244 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7245 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7247 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7249 * minibuffer.el (completion-file-name-table): Complete user names.
7251 2012-04-20 Leo Liu <sdl.web@gmail.com>
7253 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7256 2012-04-20 Chong Yidong <cyd@gnu.org>
7258 * server.el (server-execute): Respect initial-buffer-choice if it
7259 is a string and there are no files to open (Bug#2825).
7260 (server-create-window-system-frame, server-create-tty-frame):
7261 Don't switch buffers here.
7262 (server-process-filter): Only try to open a window system frame if
7263 compiled with graphical support (Bug#8314).
7265 2012-04-20 Dan Nicolaescu <dann@gnu.org>
7267 * battery.el (battery-echo-area-format): Display remaining time
7268 for sysfs backend too (Bug#11269).
7269 (battery-linux-sysfs): Fix conditional for the charge.
7271 2012-04-20 Chong Yidong <cyd@gnu.org>
7273 * progmodes/gdb-mi.el (gdb): Revert previous change.
7274 (gdb-inferior-io--init-proc): New function.
7275 (gdb-init-1): Use it.
7276 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7277 responsible for allocating a new pty and hooking it to gdb when
7278 the old pty gets an EIO due to process exit.
7279 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7280 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7281 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7283 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7285 * window.el (window-min-size, window-sizable, window-min-delta)
7286 (window-max-delta, window--resizable, window-resizable)
7287 (window-total-size, window-full-height-p, window-full-width-p)
7288 (window-in-direction, window--resize-mini-window, window-resize)
7289 (window--resize-child-windows-normal)
7290 (window--resize-child-windows, window--resize-siblings)
7291 (window--resize-this-window, adjust-window-trailing-edge)
7292 (enlarge-window, shrink-window): Doc fixes.
7294 2012-04-20 Chong Yidong <cyd@gnu.org>
7296 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7297 New function to call delete-process on the gdb-inferior buffer's pty.
7298 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7299 pty process (Bug#11273).
7300 (gdb-update): New arg to suppress talking to the gdb process.
7301 (gdb-done-or-error): Use it.
7302 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7303 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7304 sentinel not being called.
7306 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7308 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7310 2012-04-20 Glenn Morris <rgm@gnu.org>
7312 * net/network-stream.el (open-network-stream): Doc fix.
7314 2012-04-20 Chong Yidong <cyd@gnu.org>
7316 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7318 2012-04-20 Alan Mackenzie <acm@muc.de>
7320 Ensure searching for keywords is case sensitive.
7322 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7323 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7324 (c-defun-name, c-mark-function, c-cpp-define-name)
7325 (c-comment-indent, c-scan-conditionals, c-indent-defun)
7326 (c-context-line-break): Bind case-fold-search to nil.
7328 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7329 Bind case-fold-search to nil.
7331 2012-04-20 Chong Yidong <cyd@gnu.org>
7333 * mail/sendmail.el (mail-bury): Call return action with the right
7334 Rmail buffer (Bug#11242).
7336 * server.el (server-process-filter): Handle corner case where both
7337 tty and nowait options are present (Bug#11102).
7339 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7341 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7342 (top level): Put into the executable the ident-style '$Id:' tag on
7345 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7347 * electric.el (electric-indent-post-self-insert-function): Check that
7348 electric-indent-mode is enabled in current buffer.
7350 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7352 * imenu.el (imenu-progress-message): Restore; it is "used" in
7353 erc/erc-imenu.el and net/snmp-mode.el.
7355 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7357 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7358 (mouse-avoidance-nudge-mouse): Remove unused binding.
7360 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7362 * descr-text.el (describe-char):
7363 * progmodes/python.el (python-describe-symbol):
7364 Don't call `toggle-read-only', set `buffer-read-only'.
7366 * imenu.el (imenu-default-goto-function): Mark unused args.
7367 (imenu-progress-message): Remove obsolete macro; all callers changed.
7369 * subr.el (keymap-canonicalize): Remove unused binding.
7370 (read-passwd): Mark unused arg.
7372 * tutorial.el (tutorial--display-changes): Remove unused binding.
7373 (tutorial--save-tutorial-to): Remove unused variable.
7375 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7376 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7377 (package-generate-autoloads, package-menu--generate)
7378 (package-menu--find-upgrades): Remove unused bindings.
7380 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7381 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7382 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7383 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7384 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7385 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7386 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7387 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7388 (cua-delete-char-rectangle): Mark unused args.
7389 (cua-align-rectangle): Remove unused binding.
7391 * mail/rmail.el (compilation--message->loc)
7392 (epa--find-coding-system-for-mime-charset): Declare.
7394 * net/dbus.el (dbus-register-service): Declare.
7395 (dbus-name-owner-changed-handler): Remove unused binding.
7397 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7398 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7399 (nxml-scan-backward-within): Mark unused arg.
7400 (nxml-dynamic-markup-word): Remove unused binding.
7402 * mouse.el (mouse-menu-major-mode-map):
7403 * emacs-lisp/authors.el (authors-scan-change-log)
7404 (authors-add-to-author-list):
7405 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7406 * emacs-lisp/smie.el (smie-auto-fill):
7407 * mail/sendmail.el (mail-bury):
7408 * mail/unrmail.el (unrmail):
7409 * net/tls.el (open-tls-stream):
7410 * textmodes/picture.el (picture-mouse-set-point):
7411 Remove unused bindings.
7413 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
7415 * net/tramp.el (tramp-action-password): Let-bind
7416 `enable-recursive-minibuffers' to t.
7418 2012-04-18 Sam Steingold <sds@gnu.org>
7420 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7421 instead of 'string to accommodate values like [f11].
7422 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7423 * progmodes/gdb-mi.el: Likewise.
7425 2012-04-18 Leo Liu <sdl.web@gmail.com>
7427 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7429 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7432 2012-04-18 Chong Yidong <cyd@gnu.org>
7434 * simple.el (line-move): Use forward-line if in batch mode
7437 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7439 * files.el (after-find-file): Do not try to add a final newline if
7440 the buffer is read-only (Bug#11156).
7442 2012-04-17 Richard Stallman <rms@gnu.org>
7444 * mail/rmail.el (rmail-start-mail):
7445 Pass (rmail-mail-return...) for the return-action.
7446 Pass (rmail-yank-current-message...) for the yank-action.
7447 (rmail-yank-current-message): New function.
7448 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7449 (rmail-reply): Likewise.
7450 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7452 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7453 buffer, not the last. Reject temp buffers. Use the rmail-mode
7456 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
7458 * server.el (server-ensure-safe-dir): Simplify.
7460 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7462 * emacs-lisp/smie.el: Provide smarter auto-filling.
7463 (smie-auto-fill): New function.
7464 (smie-setup): Use it.
7466 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7468 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
7470 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7471 (comment-indent): Use it.
7473 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
7475 * ses.el: The overall change is to add cell renaming, that is
7476 setting fancy names for cell symbols other than name matching
7477 "\\`[A-Z]+[0-9]+\\'" regexp .
7478 (ses-localvars): Add ses--renamed-cell-symb-list.
7479 (ses-create-cell-variable): New defun.
7480 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7481 (ses-relocate-formula): Relocate formulas only for cells the
7482 symbols of which are not renamed, i.e. symbols whose names do not
7483 match regexp "\\`[A-Z]+[0-9]+\\'".
7484 (ses-relocate-all): Relocate values only for cells the symbols of
7485 which are not renamed.
7486 (ses-load): Create cells variables as the (ses-cell ...) are read,
7487 in order to check row col consistency with cell symbol name only
7488 for cells that are not renamed.
7489 (ses-replace-name-in-formula): New defun.
7490 (ses-rename-cell): New defun.
7492 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7494 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7495 New option (bug#11118).
7496 (perl-calculate-indent): Respect it.
7498 2012-04-17 Glenn Morris <rgm@gnu.org>
7500 * dired-aux.el (dired-mark-read-string): Doc fix.
7502 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7504 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7505 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7507 2012-04-17 Glenn Morris <rgm@gnu.org>
7509 * mouse.el (mouse-drag-track):
7510 * speedbar.el (speedbar-frame-mode):
7511 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7513 2012-04-16 Leo Liu <sdl.web@gmail.com>
7515 * progmodes/python.el: Trivial cleanup.
7517 2012-04-16 Glenn Morris <rgm@gnu.org>
7519 * vc/vc.el (vc-string-prefix-p):
7520 * vc/pcvs-util.el (cvs-string-prefix-p):
7521 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7522 * mpc.el (mpc-string-prefix-p):
7523 Make all of these into obsolete aliases for string-prefix-p.
7525 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7527 * textmodes/two-column.el: Move custom options to the start.
7528 (frame-width): Remove compat definition.
7529 (2C-associate-buffer, 2C-dissociate):
7530 Use with-current-buffer rather than save-excursion.
7531 (2C-dissociate): Force a mode-line update.
7532 (2C-autoscroll): Use ignore-errors.
7534 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7537 * emacs-lisp/cl-extra.el (*random-state*):
7538 Remove unnecessary declaration.
7540 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7542 * play/cookie1.el (cookie-snarf):
7543 Give an explicit error if input file cannot be read.
7545 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7547 * progmodes/perl-mode.el (c-macro-expand):
7548 Remove unnecessary autoload (it is in loaddefs.el).
7550 * textmodes/picture.el (picture-desired-column)
7551 (picture-update-desired-column): Convert comments to doc-strings.
7552 (picture-substitute): Remove function.
7553 (picture-mode-map): Initialize in the defvar.
7555 * woman.el: Remove eval-after-load for tar-mode.
7556 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7557 (woman-tar-extract-file): Autoload it.
7559 * frame.el (automatic-hscrolling): Make this alias obsolete.
7561 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
7563 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7564 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7565 (ispell-dictionary-base-alist): Revert to original XEmacs
7566 friendly version for default. [:alpha:] will be added in
7567 `ispell-set-spellchecker-params' if needed.
7569 2012-04-16 Chong Yidong <cyd@gnu.org>
7571 * image.el (imagemagick--file-regexp): New variable.
7572 (imagemagick-register-types): Use it.
7573 (imagemagick-types-inhibit): Add :set function. Allow new value
7574 of t to inhibit all types.
7576 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7577 so we can preload it.
7579 * loadup.el (fboundp): Preload regexp-opt, needed by
7580 imagemagick-register-types.
7582 2012-04-15 Chong Yidong <cyd@gnu.org>
7584 * frame.el (scrolling): Remove nearly unused customization group.
7586 * scroll-all.el (scroll-all-mode): Move to windows group.
7588 2012-04-15 Chong Yidong <cyd@gnu.org>
7590 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7592 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7594 Avoid the use of ((lambda ...) ...) in lexical-binding code.
7595 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7597 2012-04-15 Glenn Morris <rgm@gnu.org>
7599 * simple.el (process-file-side-effects): Doc fix.
7601 2012-04-15 Glenn Morris <rgm@gnu.org>
7603 * international/mule-cmds.el (set-language-environment): Doc fix.
7605 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7607 * server.el (server-auth-key, server-generate-key): Doc fixes.
7608 (server-get-auth-key): Doc fix. Use `string-match-p'.
7609 (server-start): Reflow docstring.
7611 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7613 * server.el (server-generate-key): `called-interactively-p'
7614 requires a parameter.
7616 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
7618 * server.el (server-auth-key): New variable.
7619 (server-generate-key, server-get-auth-key): New function.
7620 (server-start): Use the new variable and functions to allow
7621 setting a permanent server key (bug#9423).
7623 2012-04-14 Leo Liu <sdl.web@gmail.com>
7625 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7627 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7630 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7631 Emacs uses American spelling.
7633 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7635 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7636 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7637 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7638 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7640 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7642 * progmodes/which-func.el (which-func-modes): Change default.
7644 2012-04-14 Kim F. Storm <storm@cua.dk>
7646 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7647 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7649 2012-04-14 Chong Yidong <cyd@gnu.org>
7651 * custom.el (custom-theme-set-variables): Doc fix.
7653 2012-04-14 Glenn Morris <rgm@gnu.org>
7655 * international/mule.el (set-auto-coding-for-load): Doc fix.
7657 2012-04-14 Alan Mackenzie <acm@muc.de>
7659 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7660 imenu work again for Objective C Mode. Correct the *-index values,
7661 these having been disturbed by a previous change in 2011-08.
7663 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7664 Correct two search limits.
7666 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7668 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7670 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
7672 * international/characters.el: Fix sorting.
7674 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7676 * international/characters.el: Add more missing Latin case pairs.
7678 2012-04-14 Glenn Morris <rgm@gnu.org>
7680 * files.el (dir-locals-set-class-variables): Doc fix.
7682 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7684 * international/characters.el: Add set-case-syntax-pair call for
7685 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7686 counterpart. (Bug#11209)
7688 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7690 2012-04-14 Glenn Morris <rgm@gnu.org>
7692 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7694 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7696 * textmodes/ispell.el (ispell-dictionary-base-alist):
7697 Add data for Hebrew.
7699 2012-04-14 Chong Yidong <cyd@gnu.org>
7701 * net/rcirc.el (rcirc-cmd-quit):
7702 Revert 2012-03-18 change (Bug#11192).
7704 2012-04-14 Glenn Morris <rgm@gnu.org>
7706 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7708 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7710 * minibuffer.el (completion-in-region-mode-map):
7711 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
7713 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7715 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7717 2012-04-13 Masatake YAMATO <yamato@redhat.com>
7719 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7720 to allow `C-M-f' and `C-M-b' to move to the nearest path
7721 separator (bug#9511).
7723 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7725 * avoid.el: Require cl when compiling. And also move the
7726 `provide' to the end.
7728 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7730 * avoid.el (mouse-avoidance-banish-position): New variable.
7731 (mouse-avoidance-banish-destination): Use it (bug#10165).
7733 2012-04-13 Leo Liu <sdl.web@gmail.com>
7735 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7737 2012-04-13 Ken Brown <kbrown@cornell.edu>
7739 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
7740 this is no longer needed now that cygstart understands file:// URLs.
7741 (browse-url-filename-alist): For the same reason, don't modify
7742 file:// URLs on Cygwin.
7744 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7746 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7747 the region on shift if the binding is already shifted (bug#11221).
7749 2012-04-12 Glenn Morris <rgm@gnu.org>
7751 * mail/mailpost.el: Move to obsolete/.
7753 2012-04-12 Drew Adams <drew.adams@oracle.com>
7755 * imenu.el (imenu--generic-function): Ignore invisible definitions
7758 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7760 * hexl.el (hexl-bits): New variable.
7761 (hexl-options): Mention the variable in the doc string.
7762 (hexl-rulerise, hexl-line-displen): New functions.
7763 (hexl-mode): Mention the new variable.
7764 (hexl-mode, hexl-current-address, hexl-current-address):
7766 (hexl-ascii-start-column): New function.
7767 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7768 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7770 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
7772 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7773 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7774 the encoding, as expected by hunspell.
7776 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7778 * battery.el (battery--linux-sysfs-regexp): New const.
7779 (battery-status-function): Use it. Remove yeeloong special case.
7780 (battery-yeeloong-sysfs): Remove.
7781 (battery-echo-area-format): Remove yeeloong special case.
7783 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7785 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7786 Reported by Noah Friedman.
7788 * subr.el (read-passwd): Use read-string.
7790 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7792 * vcursor.el (vcursor-move): Increase the priority of the overlay
7795 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7797 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7798 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7800 2012-04-11 William Stevenson <yhvh2000@gmail.com>
7802 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7803 define-minor-mode (bug#10760).
7805 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7807 * progmodes/grep.el (rgrep): Tweak the find command line so
7808 that directories matching `grep-find-ignored-files' won't be
7811 2012-04-11 Chong Yidong <cyd@gnu.org>
7813 * startup.el (command-line): Remove support for long-obsolete
7814 variable font-lock-face-attributes.
7816 2012-04-11 Glenn Morris <rgm@gnu.org>
7818 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7820 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7822 * window.el (window--state-get-1): Obey window-point-insertion-type.
7824 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7826 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7827 to previous function when point is on the first character of a
7828 function. Take care of that in `narrow-to-defun' (bug#6157).
7830 2012-04-11 Glenn Morris <rgm@gnu.org>
7832 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7833 not just file-errors.
7835 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7836 (vc-bzr-sha1): Use internal sha1.
7838 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7840 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7842 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7844 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7845 that start in the middle of the line (bug#10496).
7847 2012-04-10 Dan Nicolaescu <dann@gnu.org>
7849 * battery.el (battery-linux-proc-acpi): Only one battery is
7850 discharged at a time, but that seems to confuse battery.el when
7851 computing `rate-type' for the battery not being discharged
7854 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7856 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7858 * international/quail.el: Use dolist and simplify.
7859 (quail-define-package, quail-update-keyboard-layout)
7860 (quail-define-rules): Use dolist.
7861 (quail-insert-kbd-layout, quail-get-translation): CSE.
7863 * tmm.el: Use dolist, remove left over hook.
7864 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7866 (calendar-load-hook): Don't mess with it.
7868 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7869 Use derived-mode-p. Run the diff asynchronously.
7871 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7873 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7875 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
7877 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7878 (list-dynamic-libraries--loaded): New function.
7879 (list-dynamic-libraries--refresh): Use it.
7881 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
7883 * progmodes/python.el (python-fill-paragraph):
7884 Make python-fill-region in a multiline string work when font-lock is
7885 disabled (bug#7018).
7887 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7889 * language/european.el (cp775): Add oem/legacy (en)coding on
7890 DOS/MS Windows for the Baltic languages. There are still plenty
7891 of texts written in this encoding/codepage (bug#6519).
7893 2012-04-10 Glenn Morris <rgm@gnu.org>
7895 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7896 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7898 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7900 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7901 next-line "n" and previous-line "p" in order to make recentf more
7902 consistent with ibuffer, dired or org-mode (bug#9387).
7904 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7906 * image.el (put-image): Return the overlay created instead of the
7907 optional input string (bug#7834). Note that this may break code
7908 that is (for some reason or other) depending on `put-image'
7909 returning the string.
7911 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7913 * simple.el (zap-to-char): Allow zapping using input methods
7916 * textmodes/fill.el (fill-region): Leave point and mark where they
7917 were before filling (bug#5399).
7919 2012-04-09 Glenn Morris <rgm@gnu.org>
7921 * version.el (emacs-bzr-get-version):
7922 Handle lightweight checkouts of local branches.
7924 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7926 * international/characters.el: Recover lost case pairs. (Bug#11209)
7928 2012-04-09 Chong Yidong <cyd@gnu.org>
7930 * custom.el (custom-variable-p): Return nil for non-symbol
7931 arguments instead of signaling an error.
7932 (user-variable-p): Obsolete alias for custom-variable-p.
7934 * apropos.el (apropos-variable):
7935 * files-x.el (read-file-local-variable):
7936 * simple.el (set-variable):
7937 * woman.el (woman-mini-help):
7938 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7940 2012-04-09 Glenn Morris <rgm@gnu.org>
7942 * startup.el (normal-top-level): Don't look for leim-list.el
7943 in places where it will not be found. (Bug#910)
7945 * international/mule-cmds.el (set-default-coding-systems):
7946 * files.el (normal-mode):
7947 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7948 This function was removed with ucs-tables.el in 2008.
7950 2012-04-08 Eli Zaretskii <eliz@gnu.org>
7952 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7953 ispell-encoding8-command to "-i", without a trailing space.
7954 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7955 separate command-line arguments, to specify the encoding, since
7956 that's how hunspell expects it.
7958 2012-04-08 Glenn Morris <rgm@gnu.org>
7960 * loadup.el: Load bindings before cus-start.
7961 This reduces somewhat the number of "rogue" settings in emacs -Q.
7963 2012-04-07 Glenn Morris <rgm@gnu.org>
7965 * version.el (emacs-bzr-get-version): New function.
7966 (emacs-bzr-version): New variable.
7967 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7968 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7970 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7972 * international/uni-bidi.el, international/uni-category.el:
7973 * international/uni-combining.el, international/uni-decimal.el:
7974 * international/uni-decomposition.el, international/uni-digit.el:
7975 * international/uni-lowercase.el, international/uni-mirrored.el:
7976 * international/uni-name.el, international/uni-numeric.el:
7977 * international/uni-titlecase.el, international/uni-uppercase.el:
7978 Update for Unicode 6.1.
7980 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7982 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7984 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7986 * window.el (shrink-window): Mention the `window-min-height'
7987 variable in the doc string.
7989 2012-04-05 Bastien Guerry <bzg@altern.org>
7991 * color.el (color-lighten-name): Fix typo.
7993 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7995 * server.el (server--on-display-p): New function.
7996 (server--on-display-p): Use it.
7998 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8000 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8003 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8005 * comint.el (comint--common-quoted-suffix): Check string boundary
8006 before comparing (bug#11158).
8007 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8009 2012-04-04 Chong Yidong <cyd@gnu.org>
8011 * minibuffer.el (completion-extra-properties): Doc fix.
8013 * subr.el (delayed-warnings-hook): Doc fix.
8015 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8017 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8018 selection (Bug#11159).
8019 (epa-insert-keys): Inform that the default public key will be
8020 exported if no key is selected.
8022 2012-04-04 Richard Stallman <rms@gnu.org>
8024 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8026 2012-04-03 Chong Yidong <cyd@gnu.org>
8028 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8029 mail-insert-file, not its obsolete alias mail-attach-file.
8031 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8033 * notifications.el (notifications-notify): Fix docstring.
8035 2012-04-02 Glenn Morris <rgm@gnu.org>
8037 * emacs-lisp/authors.el (authors-aliases): Another addition.
8039 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8041 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8042 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8043 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8045 2012-04-01 Chong Yidong <cyd@gnu.org>
8047 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8048 Handle root directory properly.
8049 (copy-directory): Caller changed.
8051 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8052 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8054 2012-03-31 Glenn Morris <rgm@gnu.org>
8056 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8058 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8060 * calendar/calendar.el (calendar-window-list)
8061 (calendar-hide-window): Restore. (Bug#11140)
8062 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8064 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8066 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8068 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8069 Check if file is a symlink (Bug#10489).
8071 * files.el (copy-directory): Likewise.
8073 2012-03-30 Chong Yidong <cyd@gnu.org>
8075 * image.el (imagemagick-types-inhibit)
8076 (imagemagick-register-types): Doc fix.
8078 2012-03-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
8080 * textmodes/ispell.el (ispell-get-extended-character-mode):
8081 Disable extended-char-mode for hunspell. hunspell does not support it
8082 and treats ~word as ordinary words in pipe mode.
8084 2012-03-30 Glenn Morris <rgm@gnu.org>
8086 * tutorial.el (help-with-tutorial): Ensure local variables don't
8087 happen to make the buffer read-only. (Bug#11127)
8089 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8091 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8092 (perl-calculate-indent): Return `noindent' in strings.
8094 2012-03-28 Sam Steingold <sds@gnu.org>
8096 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8097 instead of the broken adhockery which does not prevent calendar
8098 buffers from being displayed at random after exit.
8099 (calendar-window-list, calendar-hide-window): Remove the broken
8102 2012-03-28 Glenn Morris <rgm@gnu.org>
8104 * replace.el (query-replace-map): Doc fix.
8106 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8108 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8109 contents. (Bug#11109)
8111 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8113 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8115 (avl-tree--check, avl-tree--check-node): New funs.
8117 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8119 * window.el (switch-to-visible-buffer): New option.
8120 (switch-to-prev-buffer, switch-to-next-buffer):
8121 Observe switch-to-visible-buffer. Make sure that checking for a window
8122 showing a buffer already is done on the same frame.
8124 2012-03-27 Glenn Morris <rgm@gnu.org>
8126 * startup.el (mail-host-address): Doc fix.
8128 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8130 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8133 2012-03-26 Ami Fischman <ami@fischman.org>
8135 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8137 2012-03-26 Glenn Morris <rgm@gnu.org>
8139 * files.el (save-buffers-kill-emacs): Doc fix.
8141 * startup.el (normal-top-level, command-line, command-line-1):
8142 Give them doc strings.
8144 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8146 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8147 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8149 2012-03-25 Chong Yidong <cyd@gnu.org>
8151 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8152 theme if it was previously enabled before (Bug#11031).
8154 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8155 spec with custom-face-get-current-spec if its :shown-value is not
8156 determined yet (Bug#9337).
8157 (customize-create-theme, custom-theme-revert): Doc fixes.
8159 * button.el (button-at): Minor addition to docstring.
8161 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8163 * vc/vc.el (vc-merge): Fix a prompt.
8165 2012-03-24 Chong Yidong <cyd@gnu.org>
8167 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8170 * button.el (button-at): Minor addition to docstring.
8172 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8174 * newcomment.el (comment-choose-indent): No space after BOL.
8176 2012-03-22 Sam Steingold <sds@gnu.org>
8178 * window.el (switch-to-prev-buffer): Revert last patch because the
8179 bug turned out to be an advertised feature (Elisp manual 28.14).
8181 2012-03-22 Glenn Morris <rgm@gnu.org>
8183 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8184 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8186 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8188 * net/network-stream.el (network-stream-open-starttls): Make error
8189 message under Windows be less misleading.
8191 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8193 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8194 understands (bug#9942).
8196 2012-03-22 Chong Yidong <cyd@gnu.org>
8198 * simple.el (end-of-visible-line): Handle return value of
8199 next-single-property-change properly (Bug#9371).
8201 2012-03-22 Kenichi Handa <handa@m17n.org>
8203 * international/quail.el (quail-insert-kbd-layout): Fix previous
8204 change. To avoid unwanted bidi reordering, use
8205 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8207 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8209 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8210 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8211 (ruby-beginning-of-indent): Be more careful with the difference
8212 between word-boundary and symbol boundary.
8213 (ruby-mode-syntax-table): Make : a symbol constituent.
8215 2012-03-21 Andreas Politz <politza@fh-trier.de>
8217 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8219 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8221 * progmodes/etags.el (tags-completion-at-point-function):
8224 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8226 2012-03-21 Sam Steingold <sds@gnu.org>
8228 * progmodes/etags.el (tags-completion-at-point-function):
8229 Avoid the error when point is inside the pattern.
8231 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8233 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8236 2012-03-21 Drew Adams <drew.adams@oracle.com>
8238 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8240 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8242 * ido.el (ido-set-current-directory, ido-read-internal)
8243 (ido-choose-completion-string, ido-completion-help): Handle nil
8244 value of ido-completion-buffer (Bug#11008).
8246 2012-03-21 Sam Steingold <sds@gnu.org>
8248 * window.el (switch-to-prev-buffer): Do not switch to a visible
8249 window previous buffer, just like with the frame previous buffers.
8251 2012-03-21 Chong Yidong <cyd@gnu.org>
8253 * faces.el (make-face, make-empty-face, copy-face):
8254 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8257 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8259 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8260 (widget-complete): Remove broken use of it.
8262 2012-03-20 Chong Yidong <cyd@gnu.org>
8264 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8265 Use string-width and truncate-string-width to handle arbitrary
8268 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8270 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8271 to draw rectangles, not squares. (Regression introduced by revno
8272 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8274 2012-03-18 Chong Yidong <cyd@gnu.org>
8276 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8277 it is not yet defined (for temacs).
8279 2012-03-18 Leo Liu <sdl.web@gmail.com>
8281 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
8283 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8285 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8286 (ispell-choices-win-default-height, ispell-silently-savep)
8287 (ispell-dictionary-alist, ispell-encoding8-command)
8288 (ispell-check-version, ispell-aspell-find-dictionary)
8289 (ispell-valid-dictionary-list, ispell-words-keyword)
8290 (ispell-get-word, ispell-internal-change-dictionary)
8291 (ispell-region, ispell-skip-region-list)
8292 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8293 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8294 (ispell-message-text-end, ispell-message)
8295 (ispell-buffer-local-parsing): Doc fix.
8297 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
8299 * htmlfontify.el: Add support for code block fontification for ODT
8301 (hfy-optimisations): Define new option
8303 (hfy-fontify-buffer): Honor above setting.
8304 (hfy-begin-span, hfy-end-span): New routines factored out form
8305 `hfy-fontify-buffer'.
8306 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8307 that permit insertion of custom tags.
8308 (hfy-fontify-buffer): Use above handlers.
8309 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8310 (hfy-face-to-css): Re-defined to be a variable.
8311 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
8312 over multiple runs. This is made possible by having the caller let
8313 bind a special variable `hfy-user-sheet-assoc'.
8314 (htmlfontify-string): New defun.
8315 (hfy-compile-face-map): Make sure that the last char in the
8316 buffer is correctly fontified.
8317 (hfy-face-resolve-face): Whitespace only change.
8319 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8321 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8324 2012-03-16 Leo Liu <sdl.web@gmail.com>
8326 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8328 2012-03-16 Alan Mackenzie <acm@muc.de>
8330 Further optimise the handling of large macros.
8332 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8333 limit to a call of `c-literal-limits'.
8334 (c-determine-+ve-limit): New function.
8335 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8336 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8337 In CASE 5B, restrict a search limit to 500.
8338 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8340 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8341 Restrict macro bounds to +-500 from after-change's BEG END.
8343 2012-03-16 Leo Liu <sdl.web@gmail.com>
8345 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8347 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8349 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8350 `special-mode' setting of `buffer-read-only'. (Bug#11010)
8352 2012-03-16 Glenn Morris <rgm@gnu.org>
8354 * view.el (view-buffer, view-buffer-other-window)
8355 (view-buffer-other-frame): Doc fixes re special mode-class.
8357 * subr.el (eval-after-load): If named feature is provided not from
8358 a file, run after-load forms. (Bug#10946)
8360 * calendar/calendar.el (calendar-insert-at-column):
8361 Handle non-unit-width characters a bit better. (Bug#10978)
8363 2012-03-15 Chong Yidong <cyd@gnu.org>
8365 * emacs-lisp/ring.el (ring-extend): New function.
8366 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8368 * comint.el (comint-read-input-ring)
8369 (comint-add-to-input-history): Grow comint-input-ring lazily.
8371 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8373 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8374 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8376 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8377 (imenu-add-to-menubar): Don't add a redundant index.
8378 (imenu-update-menubar): Handle a dynamically composed keymap.
8380 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8382 * mail/sendmail.el (mail-encode-header):
8383 Bind rfc2047-encode-encoded-words to nil.
8385 2012-03-13 Glenn Morris <rgm@gnu.org>
8387 * calendar/calendar.el (calendar-string-spread):
8388 Handle non-unit-width characters a bit better. (Bug#10978)
8390 2012-03-13 Leo Liu <sdl.web@gmail.com>
8392 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8393 directory and file as argument (Bug#10822).
8395 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8397 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8398 For dynamically generated code, follow $PC.
8399 (gdb-disassembly-handler-custom): Handle no function name case.
8401 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8403 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8404 * emulation/ws-mode.el (ws-query-replace):
8405 * sort.el (sort-regexp-fields):
8406 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8408 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8410 * dabbrev.el: Fix cycle completion order (bug#10963).
8411 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8412 (dabbrev-completion): Don't use an obarray; provide
8413 a cycle-sort-function.
8415 2012-03-12 Leo Liu <sdl.web@gmail.com>
8417 * simple.el (kill-new): Use equal-including-properties for comparison.
8418 (kill-do-not-save-duplicates): Doc fix.
8420 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8422 * dabbrev.el: Fix cycle completion (bug#10963).
8423 Use lexical binding and wrap to 80 columns.
8424 (dabbrev-completion): Delay computing the list of completions.
8426 2012-03-12 Kenichi Handa <handa@m17n.org>
8428 * international/quail.el (quail-insert-kbd-layout): Surround each
8429 row by LRO and PDF instead of inserting many LRMs. Pad the left
8430 and right of each non-spacing marks. Insert invisible space
8431 between lower and upper characters to prevent composition.
8433 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8435 * minibuffer.el (minibuffer-complete): Don't get confused when the
8436 function is run twice via different commands (bug#10958).
8437 (complete-with-action): Fix docstring.
8439 2012-03-12 Chong Yidong <cyd@gnu.org>
8441 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8442 (nxml-completion-at-point-function): New function.
8443 (nxml-mode): Use it.
8444 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8446 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8447 Load generated autoloads file before byte compiling (Bug#10970).
8448 (package--make-autoloads-and-compile): New helper fun.
8450 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8452 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8454 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
8456 * autorevert.el (auto-revert-handler): Ensure, that
8457 file-readable-p is applied only for local files or in
8458 auto-revert-tail-mode.
8460 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8462 * server.el (server-eval-at): Handle non-tcp connections.
8463 Decode result string.
8465 * server.el (server-msg-size): New constant.
8466 (server-reply-print): New function.
8467 (server-eval-and-print): Use it.
8468 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8471 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8473 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8476 2012-03-11 Chong Yidong <cyd@gnu.org>
8478 * simple.el (goto-line): Doc fix (Bug#9938).
8480 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8482 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8483 when finished (Bug#10963).
8485 2012-03-11 Martin Rudalics <rudalics@gmx.at>
8487 * window.el (split-window-below): Fix bug in case where
8488 split-window-keep-point is nil (Bug#10971).
8490 2012-03-11 Juri Linkov <juri@jurta.org>
8492 * replace.el (replace-highlight): Set isearch-word to nil
8493 unconditionally. (Bug#10887)
8495 2012-03-10 Eli Zaretskii <eliz@gnu.org>
8497 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8498 mairix-replace-illegal-chars; all callers changed. Don't remove
8499 ^, ~, and = characters: they are meaningful in mairix search specs.
8500 (mairix-widget-create-query): Add usage information about mairix
8501 search forms: negating words, searching for substrings, etc.
8503 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8505 * international/fontset.el (font-encoding-alist): Add an entry for
8508 2012-03-10 Richard Stallman <rms@gnu.org>
8510 * mail/sendmail.el (mail-encode-header):
8511 Set rfc2047-encode-encoded-words.
8513 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8515 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8516 view buffer means not swapped.
8517 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8518 (rmail-write-region-annotate): Error if real text has disappeared.
8520 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8522 2012-03-10 Chong Yidong <cyd@gnu.org>
8524 * emulation/cua-rect.el (cua--init-rectangles):
8525 * emulation/cua-base.el (cua--init-keymaps):
8526 Add delete-forward-char to remappings (Bug#9666).
8528 2012-03-10 Martin Rudalics <rudalics@gmx.at>
8530 * speedbar.el (speedbar-unhighlight-one-tag-line):
8531 Avoid unhighlighting due to frame switching (Bug#10275).
8533 2012-03-10 Chong Yidong <cyd@gnu.org>
8535 * minibuffer.el (completion-in-region, completion-help-at-point):
8536 Give the completion field overlay a high priority (Bug#6830).
8538 * dired.el (dired-goto-file): Recognize absolute file name
8539 listings (Bug#7126).
8540 (dired-goto-file-1): New helper function.
8541 (dired-toggle-read-only): Inhibit warnings.
8543 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
8545 * net/dbus.el (dbus-property-handler): Return empty array if
8546 there are no properties.
8548 2012-03-09 Leo Liu <sdl.web@gmail.com>
8550 * savehist.el (savehist-printable): Stricter check for string
8553 2012-03-09 Eli Zaretskii <eliz@gnu.org>
8555 * mail/smtpmail.el (smtpmail-send-it):
8556 Bind coding-system-for-write to *-unix, so that FCC files are kept in
8559 2012-03-09 Glenn Morris <rgm@gnu.org>
8561 * files.el (dir-locals-find-file):
8562 Don't check result is regular, readable.
8563 (dir-locals-read-from-file): Demote errors.
8565 2012-03-08 Eli Zaretskii <eliz@gnu.org>
8567 * international/quail.el (quail-insert-kbd-layout):
8568 Insert invisible LRM characters before each character in a keyboard
8569 layout cell, to prevent their reordering by bidi display engine.
8570 For details, see the discussion in
8571 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8573 2012-03-08 Alan Mackenzie <acm@muc.de>
8575 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8576 the starting position; make it extend the marked region when
8577 invoked repeatedly - all under appropriate circumstances.
8578 Fixes bugs #5525, #10906.
8580 2012-03-08 Glenn Morris <rgm@gnu.org>
8582 * files.el (locate-dominating-file, dir-locals-find-file):
8583 Undo 2012-03-06 change.
8585 2012-03-07 Eli Zaretskii <eliz@gnu.org>
8587 * international/quail.el (quail-help):
8588 Force bidi-paragraph-direction be left-to-right. See discussion in
8589 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8592 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
8594 Avoid superfluous registering of signals. (Bug#10807)
8596 * notifications.el (notifications-on-action-object)
8597 (notifications-on-close-object): New defvars.
8598 (notifications-on-action-signal, notifications-on-closed-signal):
8599 Unregister the signal if not needed any longer.
8600 (notifications-notify): Register `notifications-action-signal' or
8601 `notifications-closed-signal', if :on-action or :on-close has been
8604 2012-03-07 Chong Yidong <cyd@gnu.org>
8606 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8609 2012-03-06 Glenn Morris <rgm@gnu.org>
8611 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8612 (x-disown-selection-internal, x-get-selection-internal):
8613 Doc fix (add arglist signatures). (Bug#10783)
8615 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8617 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8618 Handle breakpoints with no "type".
8620 2012-03-06 Glenn Morris <rgm@gnu.org>
8622 * files.el (locate-dominating-file): Add optional predicate argument.
8623 (dir-locals-find-file): Make use of above change.
8625 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8627 * info.el (Info-insert-dir): Also try "dir.gz".
8629 2012-03-06 Glenn Morris <rgm@gnu.org>
8631 * files.el (dir-locals-find-file):
8632 Ignore non-readable or non-regular files. (Bug#10928)
8634 * files.el (locate-dominating-file): Doc fix.
8636 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8638 * calendar/calendar.el (calendar-set-mode-line):
8639 `getenv' returns a string. (Bug#10951)
8641 2012-03-05 Leo Liu <sdl.web@gmail.com>
8643 * simple.el (backward-delete-char-untabify): Constrain point to
8646 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8648 2012-03-05 Chong Yidong <cyd@gnu.org>
8650 * simple.el (count-words): If called from Lisp, return the word
8651 count, for symmetry with `count-lines'. Arglist changed.
8652 (count-words--message): Args changed. Consolidate counting code
8653 from count-words and count-words-region.
8654 (count-words-region): Caller changed.
8655 (count-lines-region): Make it an obsolete alias.
8657 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8659 * saveplace.el (save-place-to-alist)
8660 (save-place-ignore-files-regexp): Allow value nil to disable this
8663 2012-03-04 Chong Yidong <cyd@gnu.org>
8665 * faces.el (face-spec-reset-face): For the default face, reset the
8666 attributes to default values (Bug#10748).
8668 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8670 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8671 previous patch: Check `message-send-mail-function', and not the
8672 default function (bug#10897).
8674 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
8676 * notifications.el (notifications-on-action-signal)
8677 (notifications-on-closed-signal): Check for unique service name of
8678 incoming event. Fix error in removing entry.
8679 (top): Register for signals with wildcard service name.
8680 (notifications-notify): Use daemon unique service name for map entries.
8682 2012-03-04 Chong Yidong <cyd@gnu.org>
8684 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
8686 2012-03-04 Glenn Morris <rgm@gnu.org>
8688 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8689 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8690 (expand-abbrev, define-abbrev-table): Doc fixes.
8692 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8694 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8695 `message-default-send-mail-function' and not `send-mail-function'
8696 when doing the prompting for `sendmail-query-once' before sending
8697 in Message buffers (bug#10897).
8699 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8700 This is inconsistent with all the other stream functions, which leave
8701 the setting up to the higher levels (if so wanted) (bug#10931).
8703 2012-03-02 Alan Mackenzie <acm@muc.de>
8705 Depessimize the handling of very large macros.
8707 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8708 (c-macro-cache-syntactic): New variables to implement a one
8709 element macro cache.
8710 (c-invalidate-macro-cache): New function.
8711 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8712 Adapt to use the new cache.
8713 (c-state-safe-place): Use better the cache of safe positions.
8714 (c-state-semi-nonlit-pos-cache)
8715 (c-state-semi-nonlit-pos-cache-limit):
8716 New variables for...
8717 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8718 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
8719 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8720 Use c-state-semi-safe-place.
8722 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8723 Add c-invalidate-macro-cache to the C, C++, Obj entries.
8725 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
8727 * jka-compr.el (jka-compr-call-process):
8728 Apply `file-accessible-directory-p' only when the default directory is
8731 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
8733 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8734 access of FILE2, if FILE1 does not exist.
8736 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8737 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8739 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8740 Add "PAGER=" to `process-environment'.
8742 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8744 * progmodes/sql.el: Bug fix
8745 (sql-get-login-ext): Save login values in globals.
8746 (sql-get-login): Use new version of `sql-get-login-ext'.
8747 (sql-interactive-mode): Set global `sql-connection' to nil.
8748 (sql-connect): Set global values for connection.
8749 (sql-product-interactive): Save global values as buffer local.
8751 2012-02-29 Leo Liu <sdl.web@gmail.com>
8753 * abbrev.el (define-abbrevs): Reset sys to nil.
8755 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8757 * files.el (file-equal-p): Rename from `files-equal-p'.
8758 Return nil when one or both files don't exist.
8759 (file-subdir-of-p): Now only top directory must exists,
8760 return nil if it doesn't.
8761 (copy-directory): No need to test with `file-subdir-of-p' after
8763 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8766 2012-02-28 Glenn Morris <rgm@gnu.org>
8768 * shell.el (shell-mode):
8769 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8770 * play/landmark.el (landmark-font-lock-face-O):
8771 * play/handwrite.el (handwrite):
8772 * play/gomoku.el (gomoku-O):
8773 * net/browse-url.el (browse-url-browser-display):
8774 * international/mule.el (define-charset):
8775 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8776 * filesets.el (filesets-find-file-delay):
8777 * eshell/em-xtra.el (eshell-xtra):
8778 * eshell/em-unix.el (eshell-grep):
8779 * emulation/viper.el (viper-mode):
8780 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8781 * emacs-lisp/easymenu.el (easy-menu-define):
8782 * calendar/timeclock.el (timeclock-use-display-time):
8784 * bookmark.el (bookmark-save-flag):
8785 Doc fix (standardize possessive apostrophe usage).
8787 2012-02-27 Chong Yidong <cyd@gnu.org>
8789 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8790 Fix key-binding lookup for ESC key (Bug#9146).
8792 * font-lock.el (font-lock-specified-p): Rename from
8793 font-lock-spec-present. Callers changed.
8795 2012-02-27 Daniel Hackney <dan@haxney.org>
8797 * emacs-lisp/package.el (package-compute-transaction):
8798 Handle holding a package version to t in package-load-list.
8800 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
8802 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8803 (tramp-get-inode, tramp-get-device): Use cached values.
8805 2012-02-26 Alan Mackenzie <acm@muc.de>
8807 Check there is a font-lock specification before doing initial
8810 * font-core.el (font-lock-mode): Move the conditional from
8811 :after-hook to font-lock-initial-fontify.
8812 (font-lock-default-function): Move the check for a specification
8813 to font-lock-spec-present.
8815 * font-lock.el (font-lock-initial-fontify): Call ...
8816 (font-lock-spec-present): New function.
8818 2012-02-26 Jim Blandy <jimb@red-bean.com>
8820 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8821 (gdb-send): Apply it to the operand of the '-interpreter-exec
8822 console' command, so that we can pass arguments with (say) quotes
8823 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8825 2012-02-26 Chong Yidong <cyd@gnu.org>
8827 * help-fns.el (describe-function-1): Clarify description of
8828 remapping (Bug#10844).
8830 * files.el (files-equal-p): Doc fix.
8831 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8832 and quit the loop once a mismatch is found.
8834 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
8836 * bs.el (bs--show-with-configuration): Don't throw an error
8837 if the window cannot be split; otherwise, subsequent calls to
8838 bs-show fail, restoring a stale window config. (Bug#10882)
8840 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8842 * term/ns-win.el (global-map): Bind ns-drag-file to
8843 ns-find-file (Bug#5855, Bug#10050).
8845 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8847 * calendar/parse-time.el (parse-time-string): Allow extractor to
8850 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
8852 * net/tramp.el (tramp-file-name-for-operation):
8853 Add `files-equal-p' and `file-subdir-of-p'.
8855 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8856 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8857 Add COPY-CONTENTS argument.
8859 2012-02-25 Chong Yidong <cyd@gnu.org>
8861 Add custom groups for VC backends, for consistency with vc-bzr.
8863 * vc/vc-arch.el (vc-arch):
8864 * vc/vc-cvs.el (vc-cvs):
8865 * vc/vc-git.el (vc-git):
8866 * vc/vc-hg.el (vc-hg):
8867 * vc/vc-mtn.el (vc-mtn):
8868 * vc/vc-rcs.el (vc-rcs):
8869 * vc/vc-sccs.el (vc-sccs):
8870 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8871 All relevant defcustoms reassigned.
8873 2012-02-25 Chong Yidong <cyd@gnu.org>
8875 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8877 * term/x-win.el (x-initialize-window-system): Reduce default for
8878 x-selection-timeout to 5 seconds (Bug#8869).
8880 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8882 * files.el (files-equal-p, file-subdir-of-p): New functions.
8883 (copy-directory): Error when trying to copy a directory on itself.
8884 Add missing copy-contents arg to tramp handler.
8885 * dired-aux.el (dired-copy-file-recursive): Same.
8886 (dired-create-files): Modify destination when source is equal to
8887 dest when copying files.
8888 Return also when dest is a subdir of source. (Bug#10489)
8890 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
8892 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8895 2012-02-23 Alan Mackenzie <acm@muc.de>
8897 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8898 parameter "after-hook:" to allow the expansion to run code after
8899 the execution of the mode hooks.
8901 * font-lock.el (font-lock-initial-fontify): New function extracted
8902 from font-lock-mode-internal.
8904 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8907 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8909 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8910 (completion--cache-all-sorted-completions): New function.
8911 (completion-all-sorted-completions): Use it.
8912 (completion--do-completion, minibuffer-force-complete):
8913 Use it to re-instate the flush hook.
8915 * icomplete.el (icomplete-completions): Replace last fix with a better
8918 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8920 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8921 when it might call us back infinitely (bug#10797).
8923 2012-02-23 Glenn Morris <rgm@gnu.org>
8925 * minibuffer.el (completion-category-overrides): Doc fix.
8927 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8929 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8930 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8932 2012-02-23 Glenn Morris <rgm@gnu.org>
8934 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
8935 (authors-obsolete-files-regexps, authors-ignored-files)
8936 (authors-ambiguous-files, authors-renamed-files-alist):
8939 2012-02-23 Juri Linkov <juri@jurta.org>
8941 * isearch.el (isearch-occur): Sync interactive spec with occur's
8942 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8944 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8946 2012-02-22 Juri Linkov <juri@jurta.org>
8948 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8949 (ucs-insert): Doc fix. Check for hex digits in the string.
8950 Don't display `nil' in the error message. (Bug#10857)
8952 2012-02-22 Alan Mackenzie <acm@muc.de>
8954 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
8956 2012-02-22 Glenn Morris <rgm@gnu.org>
8958 * ffap.el (ffap-c-path):
8959 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8961 2012-02-22 Chong Yidong <cyd@gnu.org>
8963 * custom.el (load-theme): Doc fix.
8965 2012-02-22 Glenn Morris <rgm@gnu.org>
8967 * dired-x.el (dired-guess-shell-alist-default):
8968 Remove escape sequences from nroff output. (Bug#172)
8970 2012-02-21 Glenn Morris <rgm@gnu.org>
8972 * vc/emerge.el (emerge-defvar-local):
8973 Set `permanent-local' property rather than unused `preserved'.
8975 * textmodes/picture.el (picture-delete-char): New alias.
8976 (picture-mode-map): Use it. (Bug#10860)
8977 (picture-mode): Doc fix.
8979 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
8981 * newcomment.el (uncomment-region-default): Remove unused binding.
8983 2012-02-21 Glenn Morris <rgm@gnu.org>
8985 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8986 (picture-self-insert, picture-tab-chars): Doc fix.
8987 (picture-mode-map): Fix C-a, C-e.
8989 2012-02-20 Glenn Morris <rgm@gnu.org>
8991 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8993 2012-02-20 Leo Liu <sdl.web@gmail.com>
8995 * icomplete.el (icomplete-completions): Check FROM arg before
8996 passing to substring (Bug#10850).
8998 2012-02-19 Chong Yidong <cyd@gnu.org>
9000 * comint.el: Require ansi-color.
9001 (comint-output-filter-functions): Add ansi-color-process-output.
9003 * ansi-color.el: Don't set comint-output-filter-functions; it is
9004 now in the initial value defined in comint.el.
9005 (ansi-color-apply-face-function): New variable.
9006 (ansi-color-apply-on-region): Use it.
9007 (ansi-color-apply-overlay-face): New function.
9009 * shell.el (shell): No need to require ansi-color.
9010 (shell-mode): Use ansi-color-apply-face-function to highlight
9011 color escapes using font-lock-face property (Bug#10835).
9013 2012-02-19 Chong Yidong <cyd@gnu.org>
9015 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9016 mode-line formats (Bug#10839).
9018 2012-02-18 Glenn Morris <rgm@gnu.org>
9020 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9022 * mail/undigest.el (unforward-rmail-message): Doc fix.
9024 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9026 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9028 * international/characters.el (script-list): Sync with the latest
9029 Unicode Character Database.
9031 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9033 * international/titdic-cnv.el: Remove duplicate coding tag.
9034 * language/cham.el: Likewise.
9035 * language/tai-viet.el: Likewise.
9037 2012-02-18 Glenn Morris <rgm@gnu.org>
9039 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9040 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9041 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9042 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9043 * calendar/holidays.el (holiday-bahai-holidays)
9044 (calendar-holidays, list-holidays):
9045 Use utf-8 Bahá'à in doc-strings, menus, etc.
9047 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9049 * saveplace.el (save-place-ignore-files-regexp): New variable
9050 allowing for excluding files from saving their location of point.
9051 The default value matches the temporary commit message editing
9052 files from Git, SVN, Bazaar, and Mercurial.
9053 (save-place-to-alist): Use it.
9055 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9056 Stefan Monnier <monnier@iro.umontreal.ca>
9058 * newcomment.el (uncomment-region-default): Don't leave extra space
9059 when an arg is provided (bug#8150).
9061 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9063 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9065 2012-02-17 Glenn Morris <rgm@gnu.org>
9067 * net/socks.el: Require network-stream. (Bug#10599)
9069 2012-02-17 Kenichi Handa <handa@m17n.org>
9071 * international/charprop.el:
9072 * international/uni-name.el:
9073 * international/uni-old-name.el:
9074 * international/uni-comment.el: Regenerate.
9076 2012-02-16 Glenn Morris <rgm@gnu.org>
9078 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9079 Interactively in calendar buffer, give an error if not on a date.
9081 2012-02-15 Glenn Morris <rgm@gnu.org>
9083 * shell.el (shell-delimiter-argument-list):
9084 Revert 2011-02-17 change. (Bug#8027)
9086 2012-02-15 Chong Yidong <cyd@gnu.org>
9088 * minibuffer.el (completion-at-point-functions): Doc fix.
9090 * custom.el (defcustom): Doc fix; note use of defvar.
9092 2012-02-15 Glenn Morris <rgm@gnu.org>
9094 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9097 2012-02-14 Glenn Morris <rgm@gnu.org>
9099 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9101 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9103 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9104 way the ports list is computed.
9105 (smtpmail-query-smtp-server): Prompt the user for a port number if
9106 we can't connect to any of the standard ports (bug#10810).
9108 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9110 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9112 2012-02-13 Glenn Morris <rgm@gnu.org>
9114 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9116 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9118 * net/gnutls.el (gnutls-trustfiles): New variable.
9119 (gnutls-negotiate): Use it.
9121 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9123 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9124 does its stuff if Gnus is running.
9126 2012-02-13 Alan Mackenzie <acm@muc.de>
9128 Fix a loop in c-set-fl-decl-start.
9130 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9131 c-backward-syntactic-ws actually moves backwards.
9133 2012-02-13 Leo Liu <sdl.web@gmail.com>
9135 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9136 beginning so that all \C-o chars are removed.
9138 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9140 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9142 2012-02-12 Alan Mackenzie <acm@muc.de>
9144 Fix infinite loop with long macros.
9145 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9147 2012-02-12 Chong Yidong <cyd@gnu.org>
9149 * window.el (display-buffer): Doc fix (Bug#10785).
9151 2012-02-12 Glenn Morris <rgm@gnu.org>
9153 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9154 (x-disown-selection-internal, x-get-selection-internal):
9155 Sync docs with the xselect.c versions.
9157 * allout-widgets.el: Add missing license notice.
9159 2012-02-11 Glenn Morris <rgm@gnu.org>
9161 * select.el (x-get-selection-internal, x-own-selection-internal)
9162 (x-disown-selection-internal):
9163 * x-dnd.el (x-get-selection-internal): Update declarations.
9165 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9167 * window.el (window-sides-slots):
9168 * tool-bar.el (tool-bar-position):
9169 * term/xterm.el (xterm-extra-capabilities):
9170 * ses.el (ses-self-reference-early-detection):
9171 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9172 (verilog-auto-wire-type)
9173 (verilog-auto-delete-trailing-whitespace)
9174 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9175 (verilog-auto-tieoff-declaration):
9176 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9177 (sql-oracle-statement-starters, sql-oracle-scan-on):
9178 * progmodes/prolog.el (prolog-align-comments-flag)
9179 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9180 (prolog-left-indent-regexp, prolog-paren-indent-p)
9181 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9182 (prolog-types, prolog-mode-specificators)
9183 (prolog-determinism-specificators, prolog-directives)
9184 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9185 (prolog-electric-dot-flag)
9186 (prolog-electric-dot-full-predicate-template)
9187 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9188 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9189 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9190 (prolog-program-switches, prolog-prompt-regexp)
9191 (prolog-debug-on-string, prolog-debug-off-string)
9192 (prolog-trace-on-string, prolog-trace-off-string)
9193 (prolog-zip-on-string, prolog-zip-off-string)
9194 (prolog-use-standard-consult-compile-method-flag)
9195 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9196 (prolog-imenu-max-lines, prolog-info-predicate-index)
9197 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9198 (prolog-char-quote-workaround):
9199 * progmodes/cc-vars.el (c-defun-tactic):
9200 * net/tramp.el (tramp-encoding-command-interactive)
9201 (tramp-local-end-of-line):
9202 * net/soap-client.el (soap-client):
9203 * net/netrc.el (netrc-file):
9204 * net/gnutls.el (gnutls):
9205 * minibuffer.el (completion-category-overrides)
9206 (completion-cycle-threshold)
9207 (completion-pcm-complete-word-inserts-delimiters):
9208 * man.el (Man-name-local-regexp):
9209 * mail/feedmail.el (feedmail-display-full-frame):
9210 * international/characters.el (glyphless-char-display-control):
9211 * eshell/em-ls.el (eshell-ls-date-format):
9212 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9213 (lisp-lambda-list-keyword-parameter-indentation)
9214 (lisp-lambda-list-keyword-parameter-alignment):
9215 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9216 * dired-x.el (dired-omit-verbose):
9217 * cus-theme.el (custom-theme-allow-multiple-selections):
9218 * calc/calc.el (calc-highlight-selections-with-faces)
9219 (calc-lu-field-reference, calc-lu-power-reference)
9220 (calc-note-threshold):
9221 * battery.el (battery-mode-line-limit):
9222 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9223 (archive-7z-update):
9224 * allout.el (allout-prefixed-keybindings)
9225 (allout-unprefixed-keybindings)
9226 (allout-inhibit-auto-fill-on-headline)
9227 (allout-flattened-numbering-abbreviation):
9228 * allout-widgets.el (allout-widgets-auto-activation)
9229 (allout-widgets-icons-dark-subdir)
9230 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9231 (allout-widgets-theme-dark-background)
9232 (allout-widgets-theme-light-background)
9233 (allout-widgets-item-image-properties-emacs)
9234 (allout-widgets-item-image-properties-xemacs)
9235 (allout-widgets-run-unit-tests-on-load)
9236 (allout-widgets-time-decoration-activity)
9237 (allout-widgets-hook-error-post-time)
9238 (allout-widgets-track-decoration):
9239 Add missing :version tags to new defcustoms and defgroups.
9241 * progmodes/sql.el (sql-ansi-statement-starters)
9242 (sql-oracle-statement-starters): Add custom type.
9244 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9245 (prolog-system-version): Give it a type.
9247 2012-02-11 Eli Zaretskii <eliz@gnu.org>
9249 * term/pc-win.el (x-select-text, x-selection-owner-p)
9250 (x-own-selection-internal, x-disown-selection-internal)
9251 (x-get-selection-internal): Sync doc strings and argument lists
9252 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9254 2012-02-11 Leo Liu <sdl.web@gmail.com>
9256 * progmodes/python.el (python-end-of-statement): Fix infinite
9259 2012-02-10 Glenn Morris <rgm@gnu.org>
9261 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9262 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9264 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9266 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9267 about SMTP before checking the From header.
9269 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9270 into own function for reuse by emacsbug.el.
9272 2012-02-10 Leo Liu <sdl.web@gmail.com>
9274 * subr.el (condition-case-unless-debug): Rename from
9275 condition-case-no-debug. All callers changed.
9276 (with-demoted-errors): Fix caller.
9278 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9279 * nxml/rng-valid.el (rng-do-some-validation):
9280 * emacs-lisp/package.el (package-refresh-contents)
9281 (package-menu-execute):
9282 * desktop.el (desktop-create-buffer):
9283 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9285 2012-02-10 Glenn Morris <rgm@gnu.org>
9287 * textmodes/bibtex.el:
9288 Add missing :version tags for new/changed defcustoms.
9290 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9292 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
9294 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9295 (smtpmail-via-smtp): Use it, or fall back on the From address.
9296 (smtpmail-send-it): Ditto.
9298 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9300 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9301 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9302 (byte-compile-tmp-var): New const.
9303 (byte-compile-defvar): Use it to minimize .elc size.
9304 Just use `defvar' rather than simulate it (bug#10761).
9306 2012-02-09 Glenn Morris <rgm@gnu.org>
9308 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9310 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9313 * progmodes/compile.el (compilation-error-screen-columns)
9314 (compilation-first-column, compilation-filter-start): Doc fixes.
9316 * vc/log-view.el (log-view-toggle-entry-display):
9317 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9319 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9320 (report-emacs-bug-can-use-xdg-email):
9321 (report-emacs-bug-insert-to-mailer): Doc fixes.
9322 (report-emacs-bug): Message fix.
9324 * net/browse-url.el (browse-url-can-use-xdg-open)
9325 (browse-url-xdg-open): Doc fixes.
9327 * electric.el (electric-indent-mode, electric-pair-mode)
9328 (electric-layout-rules, electric-layout-mode): Doc fixes.
9329 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9331 2012-02-08 Martin Rudalics <rudalics@gmx.at>
9333 * server.el (server-unselect-display): Don't inadvertently kill
9334 the current buffer. (Bug#10729)
9336 2012-02-08 Glenn Morris <rgm@gnu.org>
9338 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9339 (sql-list-table): Doc fixes.
9341 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9342 Comment out (does nothing).
9344 * completion.el (dynamic-completion-mode):
9345 * dirtrack.el (dirtrack-debug-mode):
9346 * electric.el (electric-layout-mode):
9347 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9348 * face-remap.el (text-scale-mode, buffer-face-mode):
9349 * iimage.el (iimage-mode):
9350 * image-mode.el (image-transform-mode):
9351 * minibuffer.el (completion-in-region-mode):
9352 * scroll-lock.el (scroll-lock-mode):
9353 * simple.el (next-error-follow-minor-mode):
9354 * tar-mode.el (tar-subfile-mode):
9355 * tooltip.el (tooltip-mode):
9356 * vcursor.el (vcursor-use-vcursor-map):
9357 * wid-browse.el (widget-minor-mode):
9358 * emulation/tpu-edt.el (tpu-edt-mode):
9359 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9360 * international/iso-ascii.el (iso-ascii-mode):
9361 * language/thai-util.el (thai-word-mode):
9362 * mail/supercite.el (sc-minor-mode):
9363 * net/goto-addr.el (goto-address-mode):
9364 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9365 * progmodes/cwarn.el (cwarn-mode):
9366 * progmodes/flymake.el (flymake-mode):
9367 * progmodes/glasses.el (glasses-mode):
9368 * progmodes/hideshow.el (hs-minor-mode):
9369 * progmodes/pascal.el (pascal-outline-mode):
9370 * textmodes/enriched.el (enriched-mode):
9371 * vc/smerge-mode.el (smerge-mode):
9372 Doc fixes (minor mode argument).
9374 2012-02-07 Eli Zaretskii <eliz@gnu.org>
9376 * ls-lisp.el (ls-lisp-sanitize): New function.
9377 (ls-lisp-insert-directory): Use it to fix or remove any elements
9378 in file-alist with missing attributes. (Bug#4673)
9380 2012-02-07 Alan Mackenzie <acm@muc.de>
9382 Fix spurious recognition of c-in-knr-argdecl.
9384 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9385 putative K&R region.
9387 2012-02-07 Alan Mackenzie <acm@muc.de>
9389 * progmodes/cc-engine.el (c-forward-objc-directive):
9390 Prevent looping in "#pragma mark @implementation".
9392 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
9394 * notifications.el (notifications-on-closed-signal): Make `reason'
9395 optional. (Bug#10744)
9397 2012-02-07 Glenn Morris <rgm@gnu.org>
9399 * emacs-lisp/easy-mmode.el (define-minor-mode):
9400 Doc fixes for the macro and the mode it defines.
9402 * image.el (imagemagick-types-inhibit): Doc fix.
9404 * cus-start.el (imagemagick-render-type): Add it.
9406 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9408 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9409 Set the default at load time, too, so that `font-lock-fontify-buffer'
9410 can be called without setting up the entire mode first. This fixes
9411 a bug in `mm-inline-text' with C MIME parts.
9413 2012-02-06 Chong Yidong <cyd@gnu.org>
9415 * simple.el (list-processes--refresh): Delete exited processes
9418 * comint.el (comint-next-prompt): next-single-char-property-change
9419 and prev-single-char-property-change never return nil (Bug#8657).
9421 * custom.el (defcustom): Doc fix (Bug#9711).
9423 2012-02-05 Chong Yidong <cyd@gnu.org>
9425 * cus-edit.el (custom-variable-reset-backup): Quote the value
9426 before storing it in the customized-value property (Bug#6712).
9427 (custom-display): Add a customization type tag.
9428 (custom-buffer-create-internal): Improve tooltip message.
9430 * wid-edit.el (widget-field-value-get): New optional arg to
9431 suppress trailing whitespace truncation.
9432 (character): Use it (Bug#2689).
9434 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9436 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9437 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9439 2012-02-05 Chong Yidong <cyd@gnu.org>
9441 * cus-edit.el (custom-variable-value-create): For mismatched
9442 types, show the current value (Bug#7600).
9444 * custom.el (defcustom): Doc fix.
9446 2012-02-05 Glenn Morris <rgm@gnu.org>
9448 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9450 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
9452 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9453 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9454 (pp-last-sexp): Use `looking-at-p'.
9456 2012-02-04 Glenn Morris <rgm@gnu.org>
9458 * files.el (revert-buffer):
9459 Doc fix (mention revert-buffer-in-progress-p).
9461 * emacs-lisp/ert-x.el (ert-simulate-command):
9462 Check deferred-action-list (which is obsolete) is bound.
9464 * subr.el (with-wrapper-hook): Doc fixes.
9466 * simple.el (filter-buffer-substring-functions)
9467 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9469 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9471 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9472 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9474 2012-02-04 Leo Liu <sdl.web@gmail.com>
9476 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9478 2012-02-04 Glenn Morris <rgm@gnu.org>
9480 * image.el (image-extension-data): Add obsolete alias.
9482 * isearch.el (isearch-update): Doc fix.
9484 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9486 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9488 2012-02-03 Glenn Morris <rgm@gnu.org>
9490 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9491 (image-animate-timeout): Doc fix.
9493 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9495 2012-02-02 Glenn Morris <rgm@gnu.org>
9497 * server.el (server-auth-dir): Doc fix.
9498 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9500 * subr.el (run-mode-hooks): Doc fix.
9502 2012-02-02 Juri Linkov <juri@jurta.org>
9504 * image-mode.el (image-toggle-display-image): Remove tautological
9505 `major-mode' from the `derived-mode-p' test.
9507 2012-02-02 Kenichi Handa <handa@m17n.org>
9509 * composite.el (compose-region): Cancel previous change.
9511 2012-02-02 Kenichi Handa <handa@m17n.org>
9513 * composite.el (compose-region, compose-string): Signal error for
9514 a null string component (Bug#6988).
9516 2012-02-01 Chong Yidong <cyd@gnu.org>
9518 * view.el (view-buffer-other-window, view-buffer-other-frame):
9519 Handle special modes like view-buffer (Bug#10650).
9520 (view-buffer): Simplify.
9522 * frame.el (set-frame-font): Tweak meaning of third argument.
9524 * dynamic-setting.el (font-setting-change-default-font):
9525 Use set-frame-font (Bug#9982).
9527 2012-02-01 Glenn Morris <rgm@gnu.org>
9529 * progmodes/compile.el (compilation-internal-error-properties):
9530 Respect compilation-first-column in the "*compilation*" buffer.
9532 * emacs-lisp/easy-mmode.el (define-minor-mode):
9533 Relax :variable's test for a named function.
9535 2012-01-31 Alan Mackenzie <acm@muc.de>
9537 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9540 2012-01-31 Chong Yidong <cyd@gnu.org>
9542 * frame.el (set-frame-font): New arg ALL-FRAMES.
9544 * menu-bar.el (menu-set-font): Use set-frame-font.
9546 * faces.el (face-spec-reset-face): Don't apply unspecified
9547 attribute values to the default face.
9549 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
9551 * progmodes/cwarn.el (cwarn): Remove dead link.
9552 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9553 Remove * from defcustom docstrings.
9554 (turn-on-cwarn-mode): Make obsolete.
9555 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9556 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9558 2012-01-31 Glenn Morris <rgm@gnu.org>
9560 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9561 Fix :variable handling of mode a symbol not equal to modefun.
9562 Allow named functions to be used as the cdr of :variable.
9564 2012-01-30 Glenn Morris <rgm@gnu.org>
9566 * emacs-lisp/authors.el (authors-fixed-entries):
9567 Remove reference to deleted file rnewspost.el.
9569 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
9571 * window.el (window-with-parameter): Remove unused variable `windows'.
9572 (window--side-check): Remove unused variable `code'.
9573 (window--resize-siblings): Remove unused variable `first'.
9574 (adjust-window-trailing-edge): Remove unused variable `failed'.
9575 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9576 Use `let', not `let*'.
9577 (balance-windows-2): Remove unused variable `found'.
9578 (window--state-put-2): Remove unused variable `splits'.
9579 (window-state-put): Remove unused variable `selected'.
9580 (same-window-p): Use `string-match-p'.
9581 (display-buffer-assq-regexp): Remove unused variable `value'.
9582 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9583 Mark argument ALIST as ignored.
9584 (pop-to-buffer): Remove unused variable `old-window'.
9586 2012-01-29 Eli Zaretskii <eliz@gnu.org>
9588 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9589 and .lzma compressed files.
9591 2012-01-29 Chong Yidong <cyd@gnu.org>
9593 * frame.el (window-system-default-frame-alist): Doc fix.
9595 * dynamic-setting.el (font-setting-change-default-font): Don't
9596 change the default face if SET-FONT argument is non-nil (Bug#9982).
9598 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9600 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9602 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
9604 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9605 breakpoints in files outside current directory (Bug#6098).
9607 2012-01-29 Chong Yidong <cyd@gnu.org>
9609 * progmodes/python.el: Require ansi-color at top-level.
9611 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9612 Define and use in Emacs Lisp mode (Bug#9360).
9613 (lisp-mode-abbrev-table): Add doc.
9614 (lisp-mode-variables): Don't set local-abbrev-table.
9615 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9617 2012-01-28 Roland Winkler <winkler@gnu.org>
9619 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9621 2012-01-28 Roland Winkler <winkler@gnu.org>
9623 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9624 (bibtex-set-dialect): Use it. Either set global values of
9625 dialect-dependent variables or bind these variables buffer-locally
9627 (bibtex-mode): Call bibtex-set-dialect via
9628 hack-local-variables-hook.
9629 (bibtex-dialect): Update docstring.
9630 Add safe-local-variable predicate.
9631 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9633 (bibtex-mode-map): Define menu for each dialect.
9634 (bibtex-entry): Fix docstring.
9636 2012-01-28 Chong Yidong <cyd@gnu.org>
9638 * eshell/esh-arg.el (eshell-quote-argument): New function.
9640 * eshell/esh-ext.el (eshell-invoke-batch-file):
9641 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9642 first arg to eshell-parse-command (Bug#10523).
9644 2012-01-28 Drew Adams <drew.adams@oracle.com>
9646 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9647 `default-directory' is non-nil.
9649 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9651 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9652 line that displays system-configuration-options. (Bug#9924)
9654 2012-01-28 Drew Adams <drew.adams@oracle.com>
9656 * descr-text.el (describe-char): Show information about POS, in
9657 addition to information about the character at POS. Improve and
9658 update the doc string. Change "code point" to "code point in
9659 charset", to avoid confusion with the character's Unicode code
9660 point shown above that. (Bug#10129)
9662 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9664 * descr-text.el (describe-char): Show the raw character, not only
9665 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9666 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9669 2012-01-28 Phil Hagelberg <phil@hagelb.org>
9671 * emacs-lisp/package.el (package-install):
9672 Run package-refresh-contents if there is no archive yet (Bug#9798).
9674 2012-01-28 Chong Yidong <cyd@gnu.org>
9676 * emacs-lisp/package.el (package-maybe-load-descriptor):
9677 New function, split from package-maybe-load-descriptor.
9678 (package-maybe-load-descriptor): Use it.
9679 (package-download-transaction): Fully load required packages
9680 inside the loop, so that `require' calls work (Bug#10593).
9681 (package-install): No need to call package-initialize now.
9683 2012-01-28 Chong Yidong <cyd@gnu.org>
9685 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9687 * tooltip.el (tooltip-mode): Doc fix.
9688 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9690 * frame.el (set-cursor-color): Doc fix (Bug#352).
9692 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9693 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9695 * cus-edit.el (custom-buffer-create-internal): Fix search button
9697 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
9699 2012-01-27 Eduard Wiebe <usenet@pusto.de>
9701 * dired.el (dired-mark-files-regexp):
9702 Include any subdirectory components. (Bug#10445)
9704 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9706 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9707 Handle [host]:port syntax. (Bug#10533)
9709 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
9711 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9713 2012-01-26 Glenn Morris <rgm@gnu.org>
9715 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9716 * term.el (term-raw-escape-map): Use Control-X-prefix.
9717 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9719 2012-01-25 Martin Rudalics <rudalics@gmx.at>
9721 * window.el (window-state-get, window--state-get-1): Don't deal
9722 with fixed-sizeness of windows. Simplify code.
9724 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9726 * window.el (window--state-get-1, window--state-put-2):
9727 Don't save and restore the mark.
9729 2012-01-25 Chong Yidong <cyd@gnu.org>
9731 * custom.el (custom-variable-p): Doc fix.
9733 2012-01-25 Glenn Morris <rgm@gnu.org>
9735 * dired.el (dired-goto-file): Handle some of the more common
9736 characters that `ls -b' escapes. (Bug#10596)
9738 * progmodes/compile.el (compilation-next-error-function):
9739 Respect compilation-first-column in the "*compilation*" buffer.
9740 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9742 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9744 2012-01-24 Glenn Morris <rgm@gnu.org>
9746 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9748 2012-01-24 Julien Danjou <julien@danjou.info>
9750 * color.el (color-rgb-to-hsl): Fix value computing.
9751 (color-hue-to-rgb): New function.
9752 (color-hsl-to-rgb): New function.
9753 (color-clamp, color-saturate-hsl, color-saturate-name)
9754 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9755 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9757 2012-01-24 Glenn Morris <rgm@gnu.org>
9759 * vc/vc-rcs.el (vc-rcs-create-tag):
9760 * vc/vc-sccs.el (vc-sccs-create-tag):
9761 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9763 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9765 * eshell/esh-util.el (eshell-read-hosts-file):
9766 Skip comment lines. (Bug#10549)
9768 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9770 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
9772 * subr.el (display-delayed-warnings): Doc fix.
9773 (collapse-delayed-warnings): New function to collapse identical
9775 (delayed-warnings-hook): Add it.
9777 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
9779 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9781 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9782 (tramp-default-user-alist): Don't add "pscp".
9783 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9784 property "login-as", if set. (Bug#10530)
9786 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
9788 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9789 "plink1" and "psftp". (Bug#10530)
9791 2012-01-21 Kenichi Handa <handa@m17n.org>
9793 * international/mule-cmds.el (prefer-coding-system): Show a
9794 warning message if the default value of file-name-coding-system
9797 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9799 * windmove.el (windmove-reference-loc):
9800 Fix windmove-reference-loc miscalculation.
9802 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9804 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9807 2012-01-21 Glenn Morris <rgm@gnu.org>
9809 * international/mule.el (auto-coding-alist): Add .tbz.
9811 * files.el (local-enable-local-variables): Doc fix.
9812 (inhibit-local-variables-regexps): Rename from
9813 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9814 Doc fix. Add some extensions from auto-coding-alist.
9815 (inhibit-local-variables-suffixes):
9816 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9817 (inhibit-local-variables-p):
9818 New function, extracted from set-auto-mode-1.
9819 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9820 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9821 (hack-local-variables): Doc fix. Make the mode-only case
9822 respect enable-local-variables and friends.
9823 Respect inhibit-local-variables-regexps for file-locals, but
9824 not for directory-locals.
9825 (set-visited-file-name):
9826 Take account of inhibit-local-variables-regexps.
9827 Whether it applies may change as the file name is changed.
9828 * jka-cmpr-hook.el (jka-compr-install):
9829 * jka-compr.el (jka-compr-uninstall):
9830 Update for inhibit-first-line-modes-suffixes name change.
9832 2012-01-20 Martin Rudalics <rudalics@gmx.at>
9834 * help-macro.el (make-help-screen): Temporarily restore original
9835 binding for minor-mode-map-alist (Bug#10454).
9837 2012-01-19 Julien Danjou <julien@danjou.info>
9839 * color.el (color-name-to-rgb): Use the white color to find the max
9840 color component value and return correctly computed values.
9841 (color-name-to-rgb): Add missing float conversion for max value.
9843 2012-01-19 Martin Rudalics <rudalics@gmx.at>
9845 * window.el (window--state-get-1, window-state-get): Do not use
9846 special state value for window-persistent-parameters.
9847 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
9848 (window--state-put-2): Reset all window parameters to nil before
9849 assigning values of persistent parameters.
9851 2012-01-18 Alan Mackenzie <acm@muc.de>
9853 Eliminate sluggishness and hangs in fontification of "semicolon
9856 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9857 Change value 10000 -> 3000.
9858 (c-state-safe-place): Reformulate so it doesn't stack up an
9859 infinite number of wrong entries in c-state-nonlit-pos-cache.
9860 (c-determine-limit-get-base, c-determine-limit): New functions to
9861 determine backward search limits disregarding literals.
9862 (c-find-decl-spots): Amend commenting.
9863 (c-cheap-inside-bracelist-p): New function which detects "={".
9865 * progmodes/cc-fonts.el
9866 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9868 (c-font-lock-declarations): Fix an occurrence of point being
9869 undefined. Check additionally for point being in a bracelist or
9870 near a macro invocation without a semicolon so as to avoid a
9871 fruitless time consuming search for a declarator. Give a more
9872 precise search limit for declarators using the new
9875 2012-01-18 Glenn Morris <rgm@gnu.org>
9877 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9878 (set-auto-mode): Doc fixes.
9880 2012-01-17 Glenn Morris <rgm@gnu.org>
9882 * isearch.el (search-nonincremental-instead): Fix doc typo.
9884 * dired.el (dired-insert-directory): Handle newlines in directory name.
9885 (dired-build-subdir-alist): Unescape newlines in directory name.
9887 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
9889 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9890 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9891 (tramp-action-terminal): Use it. (Bug#10530)
9893 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9895 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9897 2012-01-16 Martin Rudalics <rudalics@gmx.at>
9899 * window.el (window-state-ignored-parameters): Remove variable.
9900 (window--state-get-1): Rename argument MARKERS to IGNORE.
9901 Handle persistent window parameters. Make copy of clone-of
9902 parameter only if requested. (Bug#10348)
9903 (window--state-put-2): Install a window parameter only if it has
9904 a non-nil value or an existing parameter shall be overwritten.
9906 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
9908 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9910 2012-01-14 Eli Zaretskii <eliz@gnu.org>
9912 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9913 don't pass the (nil) value of `upnode' to string-match.
9915 2012-01-14 Chong Yidong <cyd@gnu.org>
9917 * startup.el (command-line): Fix X resource class for cursorColor.
9918 Fix values recognized by the cursorBlink resource.
9920 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9922 * epg.el (epg--make-temp-file): Avoid permission race condition
9923 when running on old Emacs versions (bug#10403).
9925 2012-01-14 Glenn Morris <rgm@gnu.org>
9927 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9929 2012-01-13 Alan Mackenzie <acm@muc.de>
9931 Fix filling for when filladapt mode is enabled.
9933 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9934 c-mask-paragraph, pass in `fill-paragraph' rather than
9935 `fill-region-as-paragraph'. (This is a reversion of a previous
9937 * progmodes/cc-mode.el (c-basic-common-init):
9938 Make fill-paragraph-handle-comment buffer local and set it to nil.
9940 2012-01-13 Glenn Morris <rgm@gnu.org>
9942 * dired.el (dired-switches-escape-p): New function.
9943 (dired-insert-directory): Use dired-switches-escape-p.
9944 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9946 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9948 2012-01-12 Glenn Morris <rgm@gnu.org>
9950 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9951 changes in adaptive-fill-regexp. (Bug#10276)
9953 2012-01-11 Alan Mackenzie <acm@muc.de>
9955 Fix Emacs bug #10463 - put `widen's around the critical spots.
9957 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
9958 widen around each invocation of c-state-pp-to-literal. Remove an
9959 unused let variable.
9961 2012-01-11 Glenn Morris <rgm@gnu.org>
9963 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
9966 2012-01-10 Chong Yidong <cyd@gnu.org>
9968 * net/network-stream.el (network-stream-open-starttls):
9969 Avoid emitting a confusing error message when the server gives a bad
9970 response to the capability command.
9972 2012-01-10 Glenn Morris <rgm@gnu.org>
9974 * mail/unrmail.el (unrmail): Tweak previous change.
9976 2012-01-09 Chong Yidong <cyd@gnu.org>
9978 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9980 2012-01-08 Alan Mackenzie <acm@muc.de>
9982 Optimise font locking in long enum definitions.
9984 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9985 arm to a cond form to handle enums.
9986 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9987 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9989 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
9991 * files.el (move-file-to-trash): Preserve default file modes on error.
9994 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9996 * faces.el (set-face-attribute): Clarify the meaning of the nil
9999 * subr.el (with-selected-frame): Mention that the selected frame
10000 is restored (bug#9980).
10002 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10005 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10006 (password-read): Don't autoload unused function.
10008 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10010 * progmodes/which-func.el (which-func-mode): Turn into a
10011 non-interactive function and mark as obsolete (bug#10428).
10013 2012-01-06 Chong Yidong <cyd@gnu.org>
10015 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10016 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10017 functions, along with 1 and -1.
10019 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10021 * time.el (display-time-load-average)
10022 (display-time-default-load-average): Doc fixes. See the thread
10024 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10027 2012-01-06 Glenn Morris <rgm@gnu.org>
10029 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10030 has no messages. (Bug#10377)
10032 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10033 than Info-edit. (Bug#10385)
10035 * time.el (display-time-load-average, display-time-next-load-average):
10038 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10039 local setting of buffer-read-only to the input buffer. (Bug#10419)
10041 * calendar/calendar.el (calendar-mode):
10042 Locally set scroll-margin to 0. (Bug#10379)
10044 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10046 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10048 2012-01-05 Glenn Morris <rgm@gnu.org>
10050 * eshell/em-unix.el (diff-no-select): Autoload it.
10051 (eshell/diff): Use diff-no-select. (Bug#10420)
10053 2012-01-05 Chong Yidong <cyd@gnu.org>
10055 * shell.el (shell-dynamic-complete-functions): Revert last change.
10056 (shell-command-completion-function): New function.
10057 (shell-completion-vars): Use it to implement
10058 shell-completion-execonly (Bug#10417).
10060 * custom.el (enable-theme): Don't set custom-safe-themes.
10062 * cus-theme.el (custom-theme-merge-theme):
10063 Ignore custom-enabled-themes and custom-safe-themes.
10065 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10067 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10068 first prompt in `sql-interacive-mode'.
10069 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10071 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10072 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10073 context of original buffer. Invoke `sql-login-hook'.
10075 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10077 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10078 letters in cite-prefix.
10080 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10082 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10084 2012-01-03 Chong Yidong <cyd@gnu.org>
10086 * shell.el (shell-dynamic-complete-functions):
10087 Put pcomplete-completions-at-point, so as to try
10088 comint-filename-completion first (Bug#10417).
10090 2012-01-02 Richard Stallman <rms@gnu.org>
10092 * battery.el (battery-status-function):
10093 Detect when to use battery-yeeloong-sysfs.
10094 (battery-echo-area-format): Add string for Yeeloong.
10095 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10096 (battery-yeeloong-sysfs): New function.
10098 2012-01-02 Chong Yidong <cyd@gnu.org>
10100 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10101 (dirtrack): Merge code for handling relative filenames in prompt
10102 from shell-dir-cookie-watcher.
10103 (dirtrack-debug-message): New arg to avoid excess format calls.
10105 * shell.el (shell-dir-cookie-re): Variable deleted.
10106 (shell-dir-cookie-watcher): Function deleted.
10107 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10108 with dirtrack-mode.
10110 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10112 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10113 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10116 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10118 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10120 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10122 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10123 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10125 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10127 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10128 also for alternative shells.
10129 (tramp-open-connection-setup-interactive-shell): Check, whether
10130 the shell is a busybox.
10131 (tramp-send-command): Don't suppress multiple prompts for
10132 busyboxes, it hurts.
10134 2011-12-28 Chong Yidong <cyd@gnu.org>
10136 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10137 (gdb-get-source-file): Move mode line update to
10138 gdb-get-source-file (Bug#10087).
10140 2011-12-25 Chong Yidong <cyd@gnu.org>
10142 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10143 gud-gdb-marker-filter without taking it as an argument.
10144 (gud-gdb-run-command-fetch-lines): Caller changed.
10145 (gud-gdb-completion-function): New variable.
10146 (gud-gdb-completion-at-point): Use it.
10147 (gud-gdb-completions-1): Split from gud-gdb-completions.
10149 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10150 function as separate arguments.
10151 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10152 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10153 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10154 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10155 (gdb-stopped, def-gdb-auto-update-trigger)
10156 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10157 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10159 (gud-gdbmi-completions): New function.
10160 (gdb): Use it for generating the completion table.
10162 2011-12-24 Alan Mackenzie <acm@muc.de>
10164 Introduce a mechanism to widen the region used in context font
10165 locking. Use this to protect declarations from losing their contexts.
10167 * progmodes/cc-langs.el (c-before-font-lock-functions):
10168 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10169 (c-before-context-fontification-functions): New defvar, a list of
10170 functions to be run just before context (etc.) font locking.
10172 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10173 New, functionality extracted from
10174 c-neutralize-syntax-in-and-mark-CPP.
10175 (c-in-after-change-fontification): New variable.
10176 (c-after-change): Set c-in-after-change-fontification.
10177 (c-set-fl-decl-start): Rejig its interface, so it can be called
10178 from both after-change and context fontifying.
10179 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10181 (c-standard-font-lock-fontify-region-function): New variable.
10182 (c-font-lock-fontify-region): New function.
10184 2011-12-24 Juri Linkov <juri@jurta.org>
10186 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10189 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10191 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10192 existence of source file. (Bug#10325)
10194 2011-12-23 Alan Mackenzie <acm@muc.de>
10196 Fix unstable fontification inside templates.
10198 * progmodes/cc-langs.el (c-before-font-lock-functions):
10199 Newly created from the singular version. The (c c++ objc) entry now
10200 additionally has c-set-fl-decl-start. The other languages (apart
10201 from AWK) have that as a single entry.
10203 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10204 The functionality for "local" declarations has been extracted to
10205 c-set-fl-decl-start.
10207 * progmodes/cc-mode.el (c-common-init, c-after-change):
10208 Changes due to pluralisation of c-before-font-lock-functions.
10209 (c-set-fl-decl-start): New function, extracted from
10210 c-font-lock-enclosing-decls and enhanced.
10212 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
10214 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10216 2011-12-22 Juri Linkov <juri@jurta.org>
10218 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10220 2011-12-22 Chong Yidong <cyd@gnu.org>
10222 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10224 2011-12-21 Drew Adams <drew.adams@oracle.com>
10226 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10228 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10230 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10232 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10234 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10235 highlighting and support. Fix up comments for capitalization.
10236 (cfengine-mode-debug): New var.
10237 (cfengine3-mode): Change the modeline indicator to "CFE3".
10238 (cfengine3-font-lock-keywords): Improve defun highlighting.
10239 (cfengine2-actions): Rename from `cfengine-actions'.
10240 (cfengine2-font-lock-keywords): Rename from
10241 `cfengine-font-lock-keywords'.
10242 (cfengine2-imenu-expression): Rename from
10243 `cfengine-imenu-expression'.
10244 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10245 (cfengine2-beginning-of-defun): Rename from
10246 `cfengine-beginning-of-defun'.
10247 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10248 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10249 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10250 modeline indicator to "CFE2".
10251 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10252 (cfengine-mode-abbrevs): Mark obsolete.
10254 2011-12-21 Chong Yidong <cyd@gnu.org>
10256 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10259 2011-12-20 Martin Rudalics <rudalics@gmx.at>
10261 * window.el (window-normalize-buffer-to-display): Remove.
10262 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10264 2011-12-19 Chong Yidong <cyd@gnu.org>
10266 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10267 Don't signal an error in a predicate function; return non-nil.
10268 (vc-dir-mark-file): Move the error here.
10269 (vc-dir-mark-unmark): If acting on the region, keep going if one
10270 of the entries cannot be marked/unmarked.
10271 (vc-dir-mark-all-files): If current entry is a directory, mark
10272 only child files, as documented.
10274 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10276 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10277 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10280 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10282 * term/ns-win.el (ns-get-selection-internal)
10283 (ns-store-selection-internal): Declare.
10284 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10285 Declare as obsolete.
10286 (ns-get-pasteboard, ns-paste-secondary):
10287 Use ns-get-selection-internal.
10288 (ns-set-pasteboard, ns-copy-including-secondary):
10289 Use ns-store-selection-internal.
10291 2011-12-17 Chong Yidong <cyd@gnu.org>
10293 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10294 (vc-deduce-fileset): Doc fix.
10296 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10298 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10300 2011-12-13 Sam Steingold <sds@gnu.org>
10302 * man.el (Man-getpage-in-background): When running under a
10303 window-system, ignore $MANWIDTH and $COLUMNS.
10305 2011-12-15 Kenichi Handa <handa@m17n.org>
10307 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10308 (setup-ethiopic-environment-internal): Comment out key-binding for
10309 ethio-toggle-punctuation.
10311 2011-12-13 Alan Mackenzie <acm@muc.de>
10313 Add the switch statement to AWK Mode.
10315 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10316 "default" to the keywords regexp.
10318 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10319 expression as the rest.
10320 (c-nonlabel-token-key): Allow string literals for AWK.
10321 Refactor for the other modes.
10323 Large brace-block initialisation makes CC Mode slow: Fix.
10324 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10325 routines. Limit backward searching in c-font-lock-enclosing.decl.
10327 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10328 pp-state and literal type in addition to the limits.
10329 (c-state-safe-place): New defun, extracted from c-state-literal-at.
10330 (c-state-literal-at): Use the above new defun.
10331 (c-slow-in-literal, c-fast-in-literal): Remove.
10332 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10334 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10335 being in a literal. Add a limit for backward searching.
10337 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10340 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10342 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10344 2011-12-13 Martin Rudalics <rudalics@gmx.at>
10346 * window.el (delete-other-windows): Use correct frame in call to
10347 window-with-parameter.
10349 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10351 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10352 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10353 (makefile-gmake-statements, makefile-makepp-statements):
10354 Use it and add new makepp keywords.
10355 (makefile-makepp-font-lock-keywords): Add new patterns.
10356 (makefile-match-function-end): Match new [...] and [[...]].
10358 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
10360 * ses.el (ses-call-printer-return, ses-cell-property-get)
10361 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10362 (ses-create-cell-variable, ses-reset-header-string)
10363 (ses-cell-set-formula, ses-repair-cell-reference-all)
10364 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10365 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10366 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10367 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10368 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10369 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10370 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10371 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10372 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10373 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10374 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10375 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10377 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10379 * ses.el: The overall change is to add cell renaming, that is
10380 setting fancy names for cell symbols other than name matching
10381 "\\`[A-Z]+[0-9]+\\'" regexp .
10382 (ses-create-cell-variable): New defun.
10383 (ses-relocate-formula): Relocate formulas only for cells the
10384 symbols of which are not renamed, i.e. symbols whose names do not
10385 match regexp "\\`[A-Z]+[0-9]+\\'".
10386 (ses-relocate-all): Relocate values only for cells the symbols of
10387 which are not renamed.
10388 (ses-load): Create cells variables as the (ses-cell ...) are read,
10389 in order to check row col consistency with cell symbol name only
10390 for cells that are not renamed.
10391 (ses-replace-name-in-formula): New defun.
10392 (ses-rename-cell): New defun.
10394 2011-12-11 Chong Yidong <cyd@gnu.org>
10396 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10397 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10399 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10401 * window.el (other-window): Fix docstring.
10403 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10405 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10406 `from' or `to' address before taking its substring.
10407 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10408 encoded name is chopped in the middle of the encoded string, and
10409 thus displayed encoded.
10411 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
10413 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10415 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10417 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10418 to use texinfo-update-node and commands that call it if the
10419 Texinfo file uses @node lines without next/prev/up pointers.
10420 Correct outdated description about texinfo-master-menu.
10421 (texinfo-all-menus-update, texinfo-master-menu)
10422 (texinfo-update-node, texinfo-every-node-update)
10423 (texinfo-multiple-files-update): Doc fix. Warn against updating
10424 all the @node lines.
10425 (texinfo-master-menu): Only call texinfo-update-node if the prefix
10426 argument is numeric. Explain better in the doc string what the
10427 function really does.
10428 (texinfo-insert-master-menu-list): Improve the error message
10429 displayed if there's no menu in the Top node.
10430 (Bug#2975) See also this thread:
10431 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10433 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10435 * speedbar.el (speedbar-supported-extension-expressions):
10436 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10438 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
10440 * printing.el (pr-mode-alist):
10441 * simple.el (filter-buffer-substring-functions)
10442 (completion-list-insert-choice-function):
10443 * window.el (window-with-parameter, window-atom-root)
10444 (window-sides-slots, window-size-fixed, window-min-delta)
10445 (window-max-delta, window--resize-mini-window)
10446 (window--resize-child-windows-normal, window-tree)
10447 (delete-other-windows, quit-window, split-window)
10448 (display-buffer-record-window, special-display-buffer-names)
10449 (special-display-regexps, special-display-popup-frame)
10450 (same-window-p, split-window-sensibly)
10451 (display-buffer-overriding-action, display-buffer-alist)
10452 (display-buffer-base-action, display-buffer, switch-to-buffer)
10453 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10454 (fit-window-to-buffer, recenter-positions)
10455 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10456 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10457 and remove unneeded backslashes in docstrings.
10459 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10461 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10463 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10464 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10466 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10467 when reading the makefile (bug#10116).
10469 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10471 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10474 2011-12-06 Glenn Morris <rgm@gnu.org>
10476 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10478 2011-12-06 Chong Yidong <cyd@gnu.org>
10480 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10482 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
10484 * textmodes/table.el (table-shorten-cell): Fix typo.
10486 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10488 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10490 2011-12-05 Eli Zaretskii <eliz@gnu.org>
10492 * descr-text.el (describe-char): Fix display of strong
10493 right-to-left characters and directional embeddings and overrides.
10495 * simple.el (what-cursor-position): Fix display of codepoints of
10496 strong right-to-left characters.
10498 2011-12-05 Chong Yidong <cyd@gnu.org>
10500 * faces.el (read-color): Doc fix.
10502 2011-12-05 Glenn Morris <rgm@gnu.org>
10504 * align.el (align--set-marker): Add doc-string.
10505 Don't try to move something that is not a marker. (Bug#10216)
10507 2011-12-04 Glenn Morris <rgm@gnu.org>
10509 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10510 overly zealous deletion of trailing whitespace.
10512 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
10514 * server.el (server-delete-client): On Windows, do not try to delete
10516 (server-process-filter): On Windows, treat requests for a tty frame as
10517 if they were for a GUI frame if the running server is in GUI mode.
10519 2011-12-03 Glenn Morris <rgm@gnu.org>
10521 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10523 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10525 * electric.el: Streamline electric-indent's hook.
10526 (electric-indent-chars): Revert to simple list.
10527 (electric-indent-functions): New var.
10528 (electric-indent-post-self-insert-function): Use it.
10530 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10531 there's no inferior buffer (bug#10196).
10532 (prolog-consult-compile): Don't use toggle-read-only.
10534 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
10536 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10537 interrupt. (Bug#10187)
10539 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10541 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10544 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10547 2011-12-02 Juri Linkov <juri@jurta.org>
10549 * info.el (Info-search): Display "end of manual" when Isearch
10550 reaches the end of single-file Info manual. (Bug#9918)
10552 2011-12-02 Eli Zaretskii <eliz@gnu.org>
10554 * isearch.el (isearch-message-prefix): Run the input method part
10555 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10557 2011-12-02 Juri Linkov <juri@jurta.org>
10559 * isearch.el (isearch-occur): Use `word-search-regexp' for
10561 (isearch-search-and-update): Add condition for `isearch-word' and
10562 call `word-search-regexp'. (Bug#10145)
10564 2011-12-01 Glenn Morris <rgm@gnu.org>
10566 * eshell/em-hist.el (eshell-hist-initialize):
10567 Handle eshell-history-size nil and HISTSIZE set or unset.
10568 (eshell-history-file-name, eshell-history-size): Fix custom type.
10570 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10572 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10574 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
10576 * progmodes/verilog-mode.el (verilog-pretty-expr):
10577 Rework verilog-pretty-expr to handle new assignment operators in system
10578 verilog, such as += *= and the like.
10579 (verilog-assignment-operator-re): Regular expression to find the
10580 assigment operator in a verilog assignment.
10581 (verilog-assignment-operation-re): Regular expression to find an
10582 assignment statement for pretty-expr.
10583 (verilog-in-attribute-p): Query returns true if point is in an
10584 attribute context; used to skip these for expression line up from
10586 (verilog-in-parameter-p): Query returns true if point is in an
10587 parameter definition context; used to skip these for expression
10588 line up from pretty-expr.
10589 (verilog-in-parenthesis-p): Query returns true if point is in a
10590 parenthetical expression, specifically ( ) but not [ ] or { };
10591 used by pretty-expr.
10592 (verilog-just-one-space): If there is no space, don't add one.
10593 (verilog-get-lineup-indent-2): Specifically skip just attribute
10594 contexts for expression lineup, rather than skipping all
10595 parenthetical expressions.
10596 (verilog-calculate-indent): Fix comment, and fix indent.
10597 (verilog-do-indent): Indent declarations in lists (suggested by
10599 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10601 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10604 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
10606 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10607 parameters with embedded comments. Reported by Ray Stevens.
10608 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10609 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10610 Reported by Tim Holt.
10611 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10612 instantiated by upper module causing wrong expansion until AUTOed a
10613 second time. Reported by K C Buckenmaier.
10614 (verilog-diff-auto): Fix showing .* as a difference when
10615 `verilog-auto-star-save' off. Reported by Dan Dever.
10616 (verilog-auto-reset, verilog-read-always-signals)
10617 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10618 temporary signals in reset list if
10619 verilog-auto-reset-blocking-in-non is nil, and match assignment
10620 style to each signal's assignment type, bug381.
10621 Reported by Thomas Esposito.
10622 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10623 (verilog-uvm-statement-re): Support UVM indentation and
10624 highlighting, with old OVM keywords only.
10625 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10626 Support AUTOTIEOFF creating non-wire data types.
10627 Suggested by Jonathan Greenlaw.
10628 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10629 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10630 (verilog-inject-sense, verilog-read-inst-pins)
10631 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10632 Fix mismatching parenthesis inside commented out code when deleting
10633 AUTOINST, bug383. Reported by Jonathan Greenlaw.
10634 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10635 non-numeric vector width. Reported by Alex Reed.
10636 (verilog-auto-ascii-enum): Add "onehot" option to work around not
10637 detecting signals with parameter widths. Reported by Alex Reed.
10638 (verilog-auto-delete-trailing-whitespace):
10639 With `verilog-auto-delete-trailing-whitespace' remove trailing
10640 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10641 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10642 Fix verilog-scan-cache corruption when running user AUTO expansion
10643 hooks that call indentation routines.
10644 (verilog-simplify-range-expression): Fix typo ignoring lower case
10646 (verilog-delete-auto): Fix delete-autos to also remove user created
10647 automatics, as long as they start with AUTO.
10648 (verilog-batch-diff-auto, verilog-diff-auto)
10649 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10650 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10651 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10652 (verilog-in-paren-quick, verilog-re-search-backward-quick)
10653 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10654 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10655 is disabled and its cache will get corrupt, causing AUTOS not to
10656 expand. Instead use only -quick functions.
10657 (verilog-scan-region): Fix scanning over escaped quotes.
10658 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10659 (verilog-re-search-backward-quick)
10660 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10661 related functions now ignore strings, to fix misparsing of strings
10662 with magic comments embedded in them.
10663 (verilog-read-auto-template):
10664 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10665 Reported by Brad Dobbie.
10666 (verilog-read-auto-template):
10667 Fix 'verilog-auto-inst-template-numbers' with comments.
10668 Reported by Brad Dobbie.
10669 (verilog-auto-inst, verilog-auto-inst-param)
10670 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10671 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10672 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
10673 debugging templates without merge conflicts, bug357.
10674 Reported by Brad Dobbie.
10675 (verilog-read-auto-template):
10676 Fix verilog-auto-inst-template-numbers with multiple templates.
10677 Reported by Brad Dobbie.
10678 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10679 abbrevs so user won't be asked to save.
10680 (verilog-read-auto-lisp-present): Fix to start at beginning of
10681 buffer in case called outside of verilog-auto.
10682 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10683 to "X-2". Reported by Matthew Myers.
10684 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10685 all inputs from module templates. Reported by Leith Johnson.
10686 (verilog-module-inside-filename-p): Fix locating programs as with
10688 (verilog-auto-inst-port): Fix vl-width expressions when using
10689 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10690 (verilog-decls-get-regs, verilog-decls-get-signals,
10691 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10692 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10693 verilog-read-decls): Combine reg and wire structures into one var
10694 structure to represent SystemVerilog concepts.
10695 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10696 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
10697 (verilog-auto-wire-type, verilog-insert-definition):
10698 Add verilog-auto-wire-type and AUTOLOGIC to support using
10699 SystemVerilog "logic" keyword instead of "wire"/"reg".
10700 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10701 to declares outputs that also have assignments (presumably in an
10702 ifdef or generate if so there's not a driver conflict).
10703 Reported by Matthew Myers.
10704 (verilog-auto-declare-nettype, verilog-insert-definition):
10705 Add verilog-auto-declare-nettype to fix declarations using
10706 `default_nettype none. Reported by Julian Gorfajn.
10707 (verilog-read-always-signals-recurse, verilog-read-decls)
10708 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10709 malformed end statement, bug325. Reported by Joshua Wise and
10711 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10712 (verilog-inst-comment-re): Fix not deleting Interfaced comment
10713 when expanding .* in interfaces, bug320.
10714 Reported by Pierre-David Pfister.
10715 (verilog-read-module-name): Fix import statements between module
10716 name and open parenthesis, bug317.
10717 Reported by Pierre-David Pfister.
10718 (verilog-simplify-range-expression): Fix simplification of
10719 multiplications inside AUTOWIRE connections, bug303.
10720 (verilog-auto-inst-port): Support parameter expansion in
10721 multidimensional arrays.
10722 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10723 after "assert property". Reported by Julian Gorfajn.
10724 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10725 with multiplication, bug303.
10726 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10727 Reported by Jan Frode Lonnum.
10729 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
10731 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10732 (hfy-shell-file-name, hfy-shell):
10733 * international/fontset.el (x-decompose-font-name): Fix typos.
10735 2011-11-29 Ken Brown <kbrown@cornell.edu>
10737 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10738 (gdb-version): Remove defvar.
10739 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10740 (gdb-gud-context-command, gdb-non-stop-handler)
10741 (gdb-current-context-command, gdb-stopped): Use it.
10742 (gdb-init-1): Enable pretty printing here.
10743 (gdb-non-stop-handler): Don't enable pretty-printing here.
10744 Check to see if the target supports non-stop mode; if not, turn off
10745 non-stop mode. Use the following.
10746 (gdb-check-target-async): New defun.
10747 (gud-watch, gdb-stopped): Fix whitespace.
10748 (gdb-get-source-file): Don't try to display the source file if
10749 `gdb-main-file' is nil.
10751 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10753 * align.el: Try to generate fewer markers (bug#10047).
10754 (align--set-marker): New macro.
10755 (align-region): Use it.
10757 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10759 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10761 2011-11-29 Chong Yidong <cyd@gnu.org>
10763 * indent.el (indent-for-tab-command, indent-according-to-mode):
10765 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10767 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
10769 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10770 aware of remote file names. (Bug#10124)
10772 2011-11-29 Chong Yidong <cyd@gnu.org>
10774 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10776 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10778 * files.el (find-file): Don't use force-same-window (bug#10144).
10779 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10780 use pop-to-buffer if the selected window can't be used.
10781 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10783 2011-11-28 Eli Zaretskii <eliz@gnu.org>
10785 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10788 2011-11-28 Chong Yidong <cyd@gnu.org>
10790 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10792 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
10794 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10795 gdb-get-source-file-list on gdb-create-source-file-list.
10797 2011-11-26 Eli Zaretskii <eliz@gnu.org>
10799 * whitespace.el (whitespace-newline): Use a different foreground
10800 color for 16-color light-background displays.
10802 2011-11-24 Chong Yidong <cyd@gnu.org>
10804 * window.el (display-buffer--special-action): Doc fix.
10806 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
10808 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10809 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10810 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10811 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10812 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10813 (avl-tree-stack-first):
10814 * emacs-lisp/cconv.el (cconv--analyse-use):
10815 * net/gnutls.el (gnutls-negotiate): Fix typos.
10817 2011-11-24 Glenn Morris <rgm@gnu.org>
10819 * lpr.el (lpr-windows-system, lpr-lp-system):
10820 * mail/binhex.el (binhex-begin-line):
10821 * progmodes/grep.el (grep-history, grep-find-history):
10822 * textmodes/flyspell.el:
10823 * vc/pcvs-defs.el (cvs-global-menu):
10824 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10825 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10826 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10828 * net/tls.el: Fix case of "GnuTLS".
10830 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10832 * version.el (emacs-build-system): Give it a doc-string.
10834 2011-11-24 Juri Linkov <juri@jurta.org>
10836 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10838 2011-11-24 Glenn Morris <rgm@gnu.org>
10840 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10841 if called on a non-mime message just toggle the headers. (Bug#8006)
10843 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
10845 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10846 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10847 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10848 (allout-rebullet-heading, allout-open-sibtopic)
10849 (allout-toggle-current-subtree-encryption)
10850 (allout-toggle-subtree-encryption, allout-encrypt-string)
10851 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10852 (allout-distinctive-bullets-string, allout-auto-activation):
10853 * window.el (window-normalize-buffer-to-display):
10854 * progmodes/verilog-mode.el (verilog-batch-indent):
10855 * textmodes/bibtex.el (bibtex-field-braces-opt)
10856 (bibtex-field-strings-opt):
10857 * vc/cvs-status.el (cvs-tree-merge):
10860 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
10862 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10863 `non-essential' to t, in order to avoid remote connections.
10865 2011-11-23 Eli Zaretskii <eliz@gnu.org>
10867 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10868 On MS-DOS and MS-Windows, compare with loaddefs.el
10869 case-insensitively.
10871 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10873 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10875 2011-11-23 Glenn Morris <rgm@gnu.org>
10877 * paths.el (rmail-file-name): Reformat the doc-string so that it
10880 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10881 (rmail-auto-file): Ignore case in the "special" field names,
10882 as mail-fetch-field does for all others.
10884 * mail/rmail.el (rmail-forward):
10885 * mail/rmailkwd.el (rmail-set-label):
10886 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10887 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10889 * mail/rmail.el (rmail-current-message): Doc fix.
10891 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10893 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10895 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10897 2011-11-22 Glenn Morris <rgm@gnu.org>
10899 * mail/rmailmm.el (test-rmail-mime-handler)
10900 (test-rmail-mime-bulk-handler)
10901 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10903 2011-11-21 Juri Linkov <juri@jurta.org>
10905 * calc/calc.el (calc-read-key-sequence):
10906 Let-bind `input-method-function' to nil. (Bug#10018)
10908 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10910 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10911 Tell the caller that the next line needs recomputation, even
10912 though it doesn't start a sexp (bug#10094).
10914 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10916 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10918 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10920 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10921 Use force-same-window.
10923 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10925 * descr-text.el (describe-char-unicode-data):
10926 * json.el (json-string-escape):
10927 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10928 (Footnote-unicode, Footnote-style-p):
10929 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10931 2011-11-20 Chong Yidong <cyd@gnu.org>
10933 * window.el (replace-buffer-in-windows): Restore interactive spec.
10935 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10937 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10939 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10940 (byte-compile-global-not-obsolete-vars): New var.
10941 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10943 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10945 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10947 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10948 * progmodes/pascal.el (electric-pascal-equal):
10949 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10950 * xml.el (xml-substitute-special): Fix typos.
10952 2011-11-20 Glenn Morris <rgm@gnu.org>
10954 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10955 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10957 (rmail-decode-mime-charset): Mark as obsolete.
10959 * mail/rmailsum.el (rmail-message-regexp-p-1):
10960 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10961 Before using mime functions, check they are set. (Bug#10077)
10963 2011-11-19 Juri Linkov <juri@jurta.org>
10965 * info.el (Info-finder-find-node): Use `package--builtins' instead
10966 of `package-alist'. Use node names formed by the pattern "Keyword "
10967 and the keyword name.
10969 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10971 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
10973 2011-11-19 Juri Linkov <juri@jurta.org>
10975 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10976 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10977 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10978 `old-history', `old-history-forward'. Add let-binding
10979 `window-selected'. Remove calls to `kill-buffer',
10980 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10981 before calling `Info-find-node', so `Info-find-node-2' will reread
10982 the Info file. Restore window positions only when `window-selected'
10985 2011-11-19 Juri Linkov <juri@jurta.org>
10987 * isearch.el (isearch-lazy-highlight-new-loop):
10988 Remove condition `(not isearch-error)'. (Bug#9918)
10990 * misearch.el (multi-isearch-search-fun): Add condition
10991 `(not bound)' to ignore lazy-highlighting search.
10992 Add the search-failed message "end of multi" when the end of
10993 multi-sequence is reached. Uncapitalize the search-failed
10994 message "Repeat for next buffer".
10996 * info.el (Info-search): Add the search-failed message
10997 "end of the manual" when the end of the manual is reached
11000 2011-11-19 Juri Linkov <juri@jurta.org>
11002 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11003 Use non-destructive `remove' instead of `delete' because
11004 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11005 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11007 2011-11-19 Juri Linkov <juri@jurta.org>
11009 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11010 to nil instead of binding `search-ring' and `regexp-search-ring'.
11013 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11015 * simple.el (line-move): Force movement by logical lines for any
11016 hscrolled window, not only when auto-hscroll-mode is on.
11017 (line-move-visual): Update doc string to that effect. (Bug#10076)
11019 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11021 * language/european.el (macintosh): Define as alias for mac-roman.
11023 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11025 * mail/rmailmm.el (rmail-mime-display-header)
11026 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11027 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11028 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11029 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11030 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11032 (rmail-mime-entity-segment): To get past the tagline, move forward
11033 2 more lines, to account for the 2 empty lines that precede and
11034 follow the line with the buttons.
11035 (rmail-mime-update-tagline): Move one more line, to get past the
11036 empty line that follows the buttons in the tagline. (Bug#9520)
11038 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11040 * window.el (window-max-delta-1, window-min-delta-1)
11041 (window-min-size-1, window-state-get-1, window-state-put-1)
11042 (window-state-put-2): Use "window--" prefix.
11044 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11046 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11047 (smie-warning-count): New var.
11048 (smie-set-prec2tab): Use it.
11049 (smie-bnf->prec2): Improve warnings. Add docstring.
11050 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11051 (smie-bnf--set-class): New function.
11052 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11055 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11056 (compilation-error-properties, compilation-move-to-column):
11057 Handle compilation-first-column while in the target buffer.
11059 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11060 Don't hardcode point-min==1.
11062 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11063 (eshell-rewrite-for-command): Remove workaround.
11064 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11065 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11066 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11068 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11070 2011-11-17 Glenn Morris <rgm@gnu.org>
11072 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11073 Ignore buffer-local generated-autoload-file if it is the same
11074 as the global value. (Bug#10049)
11076 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11078 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11079 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11080 (reftex-toc-previous-heading, reftex-toc-max-level)
11081 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11082 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11083 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11084 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11085 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11086 (reftex-toc-rename-label, reftex-toc-visit-location)
11087 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11088 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11089 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11090 leaving "*toc*" only for references to the buffer.
11092 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11094 * window.el (window-resize, delete-window, split-window):
11095 Replace window-splits by window-combination-resize.
11096 * cus-start.el (window-splits): Replace by window-combination-resize.
11098 2011-11-17 Glenn Morris <rgm@gnu.org>
11100 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11101 Make bash entry derive from sh entry, not shell entry.
11103 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11105 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11108 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11110 * menu-bar.el (menu-bar-file-menu):
11111 * printing.el (pr-ps-utility):
11112 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11113 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11114 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11115 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11116 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11117 (icalendar--convert-cyclic-to-ical)
11118 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11119 (icalendar--convert-ical-to-diary)
11120 (icalendar--convert-recurring-to-diary)
11121 (icalendar--convert-non-recurring-all-day-to-diary)
11122 (icalendar-import-format-sample):
11123 * progmodes/idlw-shell.el (idlwave-shell-mode):
11124 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11125 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11126 (vhdl-ps-print-init): Fix typos.
11128 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11130 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11131 FSF and collapse date sequence, obscure author/maintainer email address
11132 better, remove extra version line, track relocation of author's webpage.
11134 * progmodes/python.el (python-pdbtrack-input-prompt)
11135 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11136 regular python pdb prompts. Adjustments shamelessly taken exactly as
11137 suggested in EmacsWiki page (tiny change):
11138 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11140 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11142 * expand.el (expand-pos, expand-index, expand-point):
11143 Remove redundant info from docstring.
11144 (expand-add-abbrevs): Doc fix.
11145 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11146 (expand-sample-perl-mode-expand-list): Fix typos.
11148 * net/dbus.el (dbus-event-member-name):
11149 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11150 * term/pc-win.el (msdos-create-frame-with-faces):
11151 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11153 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11155 * window.el (split-window, window-state-get-1)
11156 (window-state-put-1, window-state-put-2): Rename occurrences of
11157 window-nest to window-combination-limit.
11158 * cus-start.el (window-nest): Rename to window-combination-limit.
11160 2011-11-16 Chong Yidong <cyd@gnu.org>
11162 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11163 regexp (Bug#10033).
11165 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11167 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11168 `completing-read' will remove *Completions* and will preserve
11169 current-buffer for us.
11170 (tmm-add-prompt): Users of *Completions* will always (re)set its
11172 (tmm-old-comp-map): Remove.
11174 2011-11-16 Glenn Morris <rgm@gnu.org>
11176 * mail/rmailedit.el: Require rmailmm when compiling.
11177 (rmail-old-mime-state): New declaration.
11178 (rmail-edit-current-message): If editing a mime message,
11179 edit the "raw" message from the mbox buffer.
11180 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11182 2011-11-15 Glenn Morris <rgm@gnu.org>
11184 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11185 which wasn't being used. Add optional arg to force given state.
11186 (rmail-mime): Add optional arg to force given state.
11188 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11190 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11191 * frame.el (display-mm-dimensions-alist):
11192 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11193 (outline-move-subtree-down):
11194 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11195 (newsticker--treeview-do-get-node):
11196 * net/quickurl.el (quickurl-list-buffer-name):
11197 * progmodes/dcl-mode.el (dcl-mode):
11198 * progmodes/gdb-mi.el (gdb-mapcar*):
11199 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11201 2011-11-15 Glenn Morris <rgm@gnu.org>
11203 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11204 in a boolean sense, so just make it a boolean, and fix the doc.
11205 (rmail-show-mime-function, rmail-mime-feature)
11206 (rmail-require-mime-maybe): Doc fixes.
11207 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11209 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11211 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11213 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11214 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11215 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11216 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11218 2011-11-15 Glenn Morris <rgm@gnu.org>
11220 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11221 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11222 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11223 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11224 (rmail-mime, rmail-show-mime): Doc fixes.
11226 * term/ns-win.el (mode-line-frame-identification):
11227 Leave it alone. (Bug#10051)
11229 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11231 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11232 Handle empty buffers. (Bug#9978)
11234 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
11236 * international/mule.el (define-charset):
11237 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11238 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11239 * progmodes/verilog-mode.el (verilog-backward-token):
11240 * textmodes/ispell.el (lookup-words):
11241 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11243 2011-11-14 Glenn Morris <rgm@gnu.org>
11245 * progmodes/executable.el
11246 (executable-make-buffer-file-executable-if-script-p):
11247 Handle file-modes returning nil.
11249 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11250 message - not necessary, and causes problems. (Bug#9831)
11252 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11254 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11256 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11257 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11258 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11260 2011-11-12 Martin Rudalics <rudalics@gmx.at>
11262 * window.el (window-resize, delete-window): Use window-splits
11263 variable instead of function.
11264 (window-state-get-1, window-state-put-2, window-state-put):
11265 Don't deal with windows' splits status.
11267 2011-11-12 Glenn Morris <rgm@gnu.org>
11269 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11270 (apropos-documentation): Doc fixes.
11272 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
11274 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11275 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11277 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11279 * electric.el (electric-indent-post-self-insert-function): Make it
11280 possible for a char to only indent in some circumstances.
11281 (electric-indent-mode): Simplify.
11283 2011-11-11 Martin Rudalics <rudalics@gmx.at>
11285 * window.el (windows-with-parameter): Remove unused function.
11286 (windows-at-side): Rename to window-at-side-list.
11287 (window-check, window-atom-check, window-atom-check-1)
11288 (window-side-check, window-size-ignore, window-size-fixed-1)
11289 (window-in-direction-2): Prefix with "window--".
11290 (window-tree-1): Rename to window--subtree, fix doc-string.
11292 2011-11-11 Glenn Morris <rgm@gnu.org>
11294 * subr.el (eval-after-load): If FILE is already loaded,
11295 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11297 2011-11-10 Glenn Morris <rgm@gnu.org>
11299 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11300 Call svn via vc-svn-command rather than vc-do-command.
11301 (vc-svn-command): Add --non-interactive. (Bug#9993)
11302 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11304 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11305 Add toggle-read-only. (Bug#7292)
11306 * files.el (toggle-read-only): Mention that it should only
11307 be used interactively. (Bug#10006)
11309 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11311 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11312 Adjust regexp for OCaml warnings.
11314 * electric.el (electric-pair-post-self-insert-function): Let user
11315 turn it off buffer-locally (bug#9932).
11317 * progmodes/python.el (python-beginning-of-statement):
11318 Rewrite (bug#2703).
11320 * progmodes/compile.el: Better handle TABs (bug#9749).
11321 (compilation-internal-error-properties)
11322 (compilation-next-error-function): Obey the target buffer's
11323 compilation-error-screen-columns.
11325 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
11327 * progmodes/meta-mode.el: Remove obsolete comments.
11328 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11329 Fix typos in docstrings.
11331 2011-11-09 Martin Rudalics <rudalics@gmx.at>
11333 * window.el (window-size-fixed-p): Rewrite doc-string.
11334 (window-resizable-p): Rename to window--resizable-p. Update callers.
11335 (window--resizable): New function. Make all callers of
11336 window-resizable call window--resizable instead.
11337 (window-resizable): Rewrite in terms of window--resizable.
11339 2011-11-08 Glenn Morris <rgm@gnu.org>
11341 * progmodes/delphi.el (delphi-mode-syntax-table):
11342 Let define-derived-mode define a proper syntax table. (Bug#9994)
11344 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11346 * window.el: Stay away from defsubst.
11347 (window-list-no-nils): Remove.
11348 (window-state-get-1, window-state-get): Use backquote instead.
11350 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11352 * emacs-lisp/find-func.el (find-function-read):
11353 Fix incorrect use of default argument in `completing-read'.
11355 2011-11-08 Martin Rudalics <rudalics@gmx.at>
11357 * window.el (display-buffer-function, special-display-function):
11358 Mention display-buffer-record-window but do not mention
11359 help-setup parameter in doc-strings.
11360 (window-min-delta): Fix doc-string typo.
11362 2011-11-08 Chong Yidong <cyd@gnu.org>
11364 * window.el (window-total-height, window-total-width): Doc fix.
11365 (window-body-size): Move from C.
11366 (window-body-height, window-body-width): Move to C.
11368 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11370 * window.el: Make special-display like display-buffer-alist (bug#9532).
11371 (display-buffer--special-action): New function, morphed
11372 from display-buffer--special.
11373 (display-buffer): Use it to handle special-display-buffers at higher
11374 priority (just after display-buffer-alist).
11375 (display-buffer-fallback-action, display-buffer--other-frame-action)
11376 (pop-to-buffer-same-window): Remove display-buffer--special.
11378 2011-11-07 Glenn Morris <rgm@gnu.org>
11380 * calendar/cal-menu.el (cal-menu-set-date-title):
11381 Do nothing if not in a calendar. (Bug#9976)
11383 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11385 * files.el (find-file): Always use selected-window.
11387 2011-11-07 Martin Rudalics <rudalics@gmx.at>
11389 * window.el (window-combinations): Make WINDOW argument
11390 mandatory. Rewrite doc-string.
11391 (walk-window-subtree, window-atom-check, window-min-delta)
11392 (window-max-delta, window--resize-this-window)
11393 (window--resize-root-window-vertically, window-tree)
11394 (balance-windows, window-state-put): Rewrite doc-strings as to
11395 not mention the term "subwindow".
11396 (window--resize-subwindows-skip-p): Rename to
11397 window--resize-child-windows-skip-p.
11398 (window--resize-subwindows-normal): Rename to
11399 window--resize-child-windows-normal.
11400 (window--resize-subwindows): Rename to
11401 window--resize-child-windows.
11402 (window-or-subwindow-p): Rename to window--in-subtree-p.
11404 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11406 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11407 Ensure that mbox format messages end in two newlines (Bug#9974).
11409 2011-11-06 Chong Yidong <cyd@gnu.org>
11411 * window.el (window-combination-p): Function deleted; its
11412 side-effect is not used in any existing code.
11413 (window-combinations, window-combined-p): Call window-*-child
11416 2011-11-05 Chong Yidong <cyd@gnu.org>
11418 * window.el (window-valid-p): Rename from window-any-p.
11419 (window-size-ignore, window-state-get): Callers changed.
11420 (window-normalize-window): Rename from window-normalize-any-window.
11421 New arg LIVE-ONLY, replacing window-normalize-live-window.
11422 (window-normalize-live-window): Delete.
11423 (window-combination-p, window-combined-p, window-combinations)
11424 (walk-window-subtree, window-atom-root, window-min-size)
11425 (window-sizable, window-sizable-p, window-size-fixed-p)
11426 (window-min-delta, window-max-delta, window-resizable)
11427 (window-resizable-p, window-full-height-p, window-full-width-p)
11428 (window-current-scroll-bars, window-point-1, set-window-point-1)
11429 (window-at-side-p, window-in-direction, window-resize)
11430 (adjust-window-trailing-edge, maximize-window, minimize-window)
11431 (window-deletable-p, delete-window, delete-other-windows)
11432 (record-window-buffer, unrecord-window-buffer)
11433 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11434 (quit-window, split-window, window-state-put)
11435 (set-window-text-height, fit-window-to-buffer)
11436 (shrink-window-if-larger-than-buffer): Callers changed.
11438 2011-11-04 Eli Zaretskii <eliz@gnu.org>
11440 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11441 rfc2047-decode-string.
11442 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11445 * window.el (window-body-height, window-body-width): Mention in
11446 the doc string that the return values are in frame's canonical
11449 2011-11-03 Alan Mackenzie <acm@muc.de>
11451 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11452 change in cc-engine.el.
11454 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11456 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11458 2011-11-02 Martin Rudalics <rudalics@gmx.at>
11460 * window.el (quit-window): Call unrecord-window-buffer after
11461 showing another buffer in the window. (Bug#9937)
11462 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11464 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
11466 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11467 Accept status with more than 9 shelves. (Bug#9935)
11468 Reported by Colin D Bennett <colin@gibibit.com>.
11470 2011-11-01 Martin Rudalics <rudalics@gmx.at>
11472 * help.el (with-help-window): Don't reference
11473 temp-buffer-show-specifiers in doc-string.
11475 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11477 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11480 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11482 * whitespace.el: New version 13.2.2.
11483 (whitespace-newline-mode): Disable properly. Reported by Sarah
11486 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
11488 * net/newst-treeview.el: Remove "Time-stamp".
11489 (newsticker--group-manage-orphan-feeds): Do not call
11490 newsticker--treeview-tree-update.
11491 (newsticker-treeview-update, newsticker-treeview):
11492 Call newsticker--treeview-tree-update if necessary.
11494 2011-10-30 Martin Rudalics <rudalics@gmx.at>
11496 * window.el (window-iso-combination-p, window-iso-combined-p)
11497 (window-iso-combinations): Remove "iso-" infix.
11498 Suggested by Chong Yidong.
11499 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11500 (window-max-delta-1, window-resize, window--resize-siblings)
11501 (window--resize-this-window, adjust-window-trailing-edge)
11502 (split-window, balance-windows-1)
11503 (shrink-window-if-larger-than-buffer):
11504 * calendar/calendar.el (calendar-generate-window):
11505 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11507 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11509 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11510 in place (bug#9907).
11511 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11512 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11513 (eshell-structure-basic-command, eshell-rewrite-while-command)
11514 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11515 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11516 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11517 (eshell-do-pipelines-synchronously, eshell-eval-command):
11518 Use backquotes and prefer setq to set.
11519 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11520 (eshell-macrop): Use functionp.
11521 (eshell-do-eval): Handle multiple expressions in `while' body.
11523 2011-10-30 Chong Yidong <cyd@gnu.org>
11525 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11526 instead of set-mark (Bug#9810).
11528 2011-10-30 Chong Yidong <cyd@gnu.org>
11530 * window.el (split-window-below, split-window-right): Rename from
11531 split-window-above-each-other and split-window-side-by-side
11532 respectively. All callers changed.
11533 (split-window-sensibly, split-window-sensibly): Use them.
11534 (split-window-keep-point): Doc fix.
11536 * isearch.el: Add isearch-scroll property to split-window-below
11537 and split-window-right.
11539 * follow.el (follow-mode):
11540 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11541 * progmodes/ada-xref.el (ada-gdb-application):
11542 * emulation/vip.el (vip-buffer-in-two-windows):
11543 * image-dired.el (image-dired-dired-with-window-configuration):
11544 * dired-x.el (dired-do-find-marked-files):
11545 * dired.el (dired-pop-to-buffer):
11546 * bs.el (bs--show-with-configuration):
11547 * vc/emerge.el (emerge-setup-windows):
11548 * textmodes/two-column.el (2C-two-columns):
11549 * textmodes/reftex-toc.el (reftex-toc):
11550 * progmodes/gdb-mi.el (gdb-setup-windows):
11551 * progmodes/fortran.el (fortran-window-create):
11552 * net/newst-treeview.el (newsticker--treeview-window-init):
11553 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11554 * emulation/tpu-edt.el (tpu-gold-map):
11555 * emulation/crisp.el (crisp-mode-map):
11556 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11558 2011-10-29 Chong Yidong <cyd@gnu.org>
11560 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11562 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11564 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11565 forged Ispell output (Bug#7904).
11567 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11569 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11571 * doc-view.el: Avoid ugly errors about not finding nil.
11572 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11573 (doc-view-dvipdf-program, doc-view-unoconv-program)
11574 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11575 Avoid nil or absolute file name as default value.
11576 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11578 2011-10-28 Alan Mackenzie <acm@muc.de>
11580 * progmodes/cc-defs.el (c-version): -> 5.32.2.
11582 2011-10-28 Alan Mackenzie <acm@muc.de>
11584 Amend the handling of c-beginning/end-of-defun in nested declaration
11587 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11588 cc-langs.el. Change it to a defcustom.
11590 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11593 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11594 Prevent "class foo : bar" being spuriously recognized as a label.
11596 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11597 Add parameter `inclusive' (to include enclosing braces in the region).
11598 (c-widen-to-enclosing-decl-scope): New function.
11599 (c-while-widening-to-decl-block): New macro.
11600 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11601 outward for defun boundaries, and correspondingly change symbol
11602 `respect-enclosure' to `go-outward'.
11603 (c-declaration-limits): Change algorithm to report only the "innermost"
11604 defun's boundaries.
11606 2011-10-28 Deniz Dogan <deniz@dogan.se>
11608 * net/rcirc.el (rcirc-mode): Use hard newlines.
11610 2011-10-28 Alan Mackenzie <acm@muc.de>
11612 Amend to indent and fontify macros "which include their own semicolon"
11613 correctly, using the "virtual semicolon" mechanism.
11615 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11617 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11618 Recode to scan one line at a time rather than having \n and \r
11619 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11620 (c-forward-label): Amend for virtual semicolons.
11621 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11623 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11624 of the new C macros.
11626 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11627 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11628 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11629 (c-opt-cpp-macro-define): Make into a full language variable.
11630 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11631 AWK Mode (including \n, \r) removed, no longer needed.
11633 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11634 Invoke c-make-macro-with-semi-re.
11636 * progmodes/cc-vars.el (c-macro-with-semi-re):
11637 (c-macro-names-with-semicolon): New variables.
11638 (c-make-macro-with-semi-re): New function.
11640 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11642 * vc/log-edit.el: Fill empty field rather than adding new one.
11643 (log-edit-add-field): New function.
11644 (log-edit-insert-changelog): Use it.
11646 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11648 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11650 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11652 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11653 (gdb--check-interpreter): New function.
11656 2011-10-27 Glenn Morris <rgm@gnu.org>
11658 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11659 (least-positive-float, least-negative-float)
11660 (least-positive-normalized-float, least-negative-normalized-float)
11661 (float-epsilon, float-negative-epsilon):
11662 Remove unnecessary declarations.
11664 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11665 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11666 (least-positive-float, least-negative-float)
11667 (least-positive-normalized-float, least-negative-normalized-float)
11668 (float-epsilon, float-negative-epsilon): Add doc-strings,
11669 based on those in cl.texi.
11671 * files.el (set-visited-file-name): If the major-mode changed,
11672 reload the local variables. (Bug#9796)
11674 2011-10-27 Chong Yidong <cyd@gnu.org>
11676 * subr.el (change-major-mode-after-body-hook): New hook.
11677 (run-mode-hooks): Run it.
11679 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11680 Use change-major-mode-before-body-hook.
11682 * simple.el (fundamental-mode):
11683 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11684 change introducing fundamental-mode-hook.
11686 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
11688 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
11690 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
11692 * ido.el (ido-file-name-all-completions-1): Do not require
11693 tramp.el explicitly. (Bug#7583)
11695 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11697 * progmodes/octave-mod.el:
11698 * progmodes/octave-inf.el: Update maintainer.
11700 2011-10-26 Chong Yidong <cyd@gnu.org>
11702 * subr.el (with-wrapper-hook): Rewrite doc.
11704 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
11706 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
11707 filenames "/method:foo:". (Bug#9793)
11709 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11711 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11714 2011-10-24 Glenn Morris <rgm@gnu.org>
11716 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11718 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
11720 * notifications.el: Add the requirement of a running D-Bus session
11721 bus to the Commentary.
11723 2011-10-24 Juri Linkov <juri@jurta.org>
11725 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11726 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11729 2011-10-24 Juri Linkov <juri@jurta.org>
11731 * info.el (Info-following-node-name-re): Add newline to the list
11732 of allowed characters for leading space. (Bug#9824)
11734 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11736 * progmodes/octave-inf.el (inferior-octave-mode-map):
11737 Fix C-c C-h binding.
11738 * progmodes/octave-mod.el (octave-help): Remove.
11740 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
11742 Sync with Tramp 2.2.3.
11744 * net/tramp-cache.el (top): Pacify byte-compiler using
11745 `init-file-user' and `site-run-file'.
11747 * net/trampver.el: Update release number.
11749 2011-10-23 Chong Yidong <cyd@gnu.org>
11751 * files.el (toggle-read-only): Remove obsolete comment about
11754 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11755 for toggle-read-only. Note that this hasn't called vc-next-action
11756 since 2008-05-02, though it wasn't documented at the time.
11758 * vc/ediff-init.el (ediff-toggle-read-only-function):
11759 Use toggle-read-only.
11761 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11763 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11766 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11767 correct faulty logical expression.
11768 (c-parse-state-state, c-record-parse-state-state):
11769 (c-replay-parse-state-state): New defvar/defuns.
11770 (c-debug-parse-state): Use new functions.
11772 2011-10-22 Martin Rudalics <rudalics@gmx.at>
11774 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11775 last fix. Use window-in-direction correctly.
11777 2011-10-21 Chong Yidong <cyd@gnu.org>
11779 * progmodes/idlwave.el (idlwave-mode):
11780 * progmodes/vera-mode.el (vera-mode): No need to set
11781 require-final-newline; that's done in prog-mode.
11782 Suggested by Stefan Monnier.
11784 2011-10-21 Martin Rudalics <rudalics@gmx.at>
11786 * mouse.el (mouse-drag-window-above)
11787 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11788 (mouse-drag-mode-line-1, mouse-drag-header-line)
11789 (mouse-drag-vertical-line-rightward-window): Remove.
11790 (mouse-drag-line): New function.
11791 (mouse-drag-mode-line, mouse-drag-header-line)
11792 (mouse-drag-vertical-line): Call mouse-drag-line.
11793 * window.el (window-at-side-p, windows-at-side): New functions.
11795 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
11797 * tar-mode.el (tar-grind-file-mode):
11798 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11800 2011-10-21 Chong Yidong <cyd@gnu.org>
11802 * progmodes/idlwave.el (idlwave-mode):
11803 * progmodes/vera-mode.el (vera-mode):
11804 Use mode-require-final-newline.
11806 2011-10-20 Glenn Morris <rgm@gnu.org>
11808 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
11810 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11812 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11814 2011-10-20 Chong Yidong <cyd@gnu.org>
11816 * emulation/cua-base.el (cua-mode):
11817 * mail/footnote.el (footnote-mode):
11818 * mail/mailabbrev.el (mail-abbrevs-mode):
11819 * net/xesam.el (xesam-minor-mode):
11820 * progmodes/bug-reference.el (bug-reference-mode):
11821 * progmodes/cap-words.el (capitalized-words-mode):
11822 * progmodes/compile.el (compilation-minor-mode)
11823 (compilation-shell-minor-mode):
11824 * progmodes/gud.el (gud-tooltip-mode):
11825 * progmodes/hideif.el (hide-ifdef-mode):
11826 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11827 * progmodes/subword.el (subword-mode):
11828 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11829 * progmodes/which-func.el (which-function-mode):
11830 * term/tvi970.el (tvi970-set-keypad-mode):
11831 * term/vt100.el (vt100-wide-mode):
11832 * textmodes/flyspell.el (flyspell-mode):
11833 * textmodes/ispell.el (ispell-minor-mode):
11834 * textmodes/nroff-mode.el (nroff-electric-mode):
11835 * textmodes/paragraphs.el (use-hard-newlines):
11836 * textmodes/refill.el (refill-mode):
11837 * textmodes/reftex.el (reftex-mode):
11838 * textmodes/rst.el (rst-minor-mode):
11839 * textmodes/sgml-mode.el (html-autoview-mode)
11840 (sgml-electric-tag-pair-mode):
11841 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11842 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11843 * emulation/crisp.el (crisp-mode):
11844 * emacs-lisp/eldoc.el (eldoc-mode):
11845 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11846 minor mode behavior.
11848 2011-10-19 Juri Linkov <juri@jurta.org>
11850 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11851 the list of hard-coded chars with escape-glyph face.
11853 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11855 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11857 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
11859 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11862 2011-10-19 Glenn Morris <rgm@gnu.org>
11864 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11865 Ignore ignored files. (Bug#9726)
11867 2011-10-19 Chong Yidong <cyd@gnu.org>
11869 Doc fix for minor modes, stating that an omitted argument enables
11870 the mode unconditionally when called from Lisp.
11872 * abbrev.el (abbrev-mode):
11873 * allout.el (allout-mode):
11874 * autoinsert.el (auto-insert-mode):
11875 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11876 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11877 (global-auto-revert-mode):
11878 * battery.el (display-battery-mode):
11879 * composite.el (global-auto-composition-mode)
11880 (auto-composition-mode):
11881 * delsel.el (delete-selection-mode):
11882 * desktop.el (desktop-save-mode):
11883 * dired-x.el (dired-omit-mode):
11884 * dirtrack.el (dirtrack-mode):
11885 * doc-view.el (doc-view-minor-mode):
11886 * double.el (double-mode):
11887 * electric.el (electric-indent-mode, electric-pair-mode):
11888 * emacs-lock.el (emacs-lock-mode):
11889 * epa-hook.el (auto-encryption-mode):
11890 * follow.el (follow-mode):
11891 * font-core.el (font-lock-mode):
11892 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11893 * help.el (temp-buffer-resize-mode):
11894 * hilit-chg.el (highlight-changes-mode)
11895 (highlight-changes-visible-mode):
11896 * hi-lock.el (hi-lock-mode):
11897 * hl-line.el (hl-line-mode, global-hl-line-mode):
11898 * icomplete.el (icomplete-mode):
11899 * ido.el (ido-everywhere):
11900 * image-file.el (auto-image-file-mode):
11901 * image-mode.el (image-minor-mode):
11902 * iswitchb.el (iswitchb-mode):
11903 * jka-cmpr-hook.el (auto-compression-mode):
11904 * linum.el (linum-mode):
11905 * longlines.el (longlines-mode):
11906 * master.el (master-mode):
11907 * mb-depth.el (minibuffer-depth-indicate-mode):
11908 * menu-bar.el (menu-bar-mode):
11909 * minibuf-eldef.el (minibuffer-electric-default-mode):
11910 * mouse-sel.el (mouse-sel-mode):
11911 * msb.el (msb-mode):
11912 * mwheel.el (mouse-wheel-mode):
11913 * outline.el (outline-minor-mode):
11914 * paren.el (show-paren-mode):
11915 * recentf.el (recentf-mode):
11916 * reveal.el (reveal-mode, global-reveal-mode):
11917 * rfn-eshadow.el (file-name-shadow-mode):
11918 * ruler-mode.el (ruler-mode):
11919 * savehist.el (savehist-mode):
11920 * scroll-all.el (scroll-all-mode):
11921 * scroll-bar.el (scroll-bar-mode):
11922 * server.el (server-mode):
11923 * shell.el (shell-dirtrack-mode):
11924 * simple.el (auto-fill-mode, transient-mark-mode)
11925 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11926 (line-number-mode, column-number-mode, size-indication-mode)
11927 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11928 * strokes.el (strokes-mode):
11929 * time.el (display-time-mode):
11930 * t-mouse.el (gpm-mouse-mode):
11931 * tool-bar.el (tool-bar-mode):
11932 * tooltip.el (tooltip-mode):
11933 * type-break.el (type-break-mode-line-message-mode)
11934 (type-break-query-mode):
11935 * view.el (view-mode):
11936 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11937 (global-whitespace-mode, global-whitespace-newline-mode):
11938 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11940 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11941 Fix autogenerated docstring.
11943 2011-10-19 Juri Linkov <juri@jurta.org>
11945 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11946 by checking environment variables "DESKTOP_SESSION" and
11947 "XDG_CURRENT_DESKTOP". (Bug#9779)
11949 2011-10-19 Juri Linkov <juri@jurta.org>
11951 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11952 (browse-url-chromium-program, browse-url-chromium-arguments):
11954 (browse-url-default-browser): Check for `browse-url-chromium' and
11955 call `browse-url-chromium-program'.
11956 (browse-url-chromium): New command. (Bug#9779)
11958 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
11960 * facemenu.el (list-colors-duplicates): On Windows, detect more
11961 duplicates by assuming that only colors matching "^System" are
11962 special "system colors". (Bug#9722)
11964 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11966 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11967 to distinguish the author from the committer.
11969 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
11971 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11973 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11975 * international/mule.el (sgml-html-meta-auto-coding-function):
11976 Add support for detecting encoding in HTML5 specified only as
11977 <meta charset="UTF-8">. Implementation just makes http-equiv and
11978 content-type parts from HTML4 encoding string optional. (Bug#9716)
11980 2011-10-18 Glenn Morris <rgm@gnu.org>
11982 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11984 2011-10-18 Chong Yidong <cyd@gnu.org>
11986 * faces.el (cursor): Doc fix.
11988 2011-10-17 Chong Yidong <cyd@gnu.org>
11990 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11992 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
11994 * dirtrack.el (dirtrack): Support shell buffers with path
11995 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11997 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11999 * json.el: Bump version to 1.3 and note change in History.
12000 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12002 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12004 * comint.el (comint-insert-input, comint-send-input)
12005 (comint-get-old-input-default, comint-backward-matching-input)
12006 (comint-next-prompt): Use nil instead of `input' for field property of
12007 past user input (bug#114).
12009 * minibuffer.el (completion--replace): Inherit surrounding properties
12011 (minibuffer-complete-and-exit): Use it.
12013 * comint.el (comint--table-subvert): Quote the all-completions output
12016 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12018 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12020 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12021 window on right of selected. (Bug#9350) Reword other window
12022 entries and separate them from frame entries.
12024 2011-10-15 Glenn Morris <rgm@gnu.org>
12026 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12029 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12031 * net/network-stream.el (network-stream-open-starttls):
12032 Improve detection of failure due to lack of TLS support.
12034 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12035 putting the input text in front and in bold.
12037 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12039 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12041 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12044 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12045 unread-command-events rather than pushing yet-another event.
12047 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12049 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12050 the explanation of the possible choices. Make the options passed
12051 to completing-read shorter.
12053 2011-10-13 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
12055 * textmodes/flyspell.el (flyspell-large-region): Make sure
12056 extended character mode is used if defined (Bug#1339).
12058 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12060 * simple.el (what-cursor-position): Fix the display of the
12061 character info for LRE, LRO, RLE, and RLO characters by appending
12064 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12066 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12067 even in case of error; add debug spec; simplify data flow.
12068 (with-timeout-handler): Remove.
12070 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12072 Fix Bug#6019, Bug#9315.
12074 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12075 complete `buffer-file-name', the local file name part could look
12076 remotely (for example on VMS).
12078 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12079 `tramp-run-real-handler'.
12080 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12081 already quoted by '"'.
12083 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12084 Let `file-name-handler-alist' be nil, the local file name part
12085 could look remotely (for example on VMS).
12087 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12089 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12091 (flyspell-post-command-hook): ...to here.
12093 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12095 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12097 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12098 using completion. Protect against "slow" callers.
12099 Remove the "message hack".
12101 2011-10-11 Juri Linkov <juri@jurta.org>
12103 * isearch.el (isearch-lazy-highlight-word): New variable.
12104 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12107 2011-10-11 Glenn Morris <rgm@gnu.org>
12109 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12110 like f90-previous-statement does.
12112 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12114 * eshell/eshell.el (eshell-command): History should be saved
12115 only in interactive use, to avoid error.
12117 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12119 * minibuffer.el (completion-file-name-table): Fix last change,
12120 i.e. ignore normal errors but not the other ones.
12122 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12124 * window.el (special-display-buffer-names)
12125 (special-display-regexps): Remove some remnants of earlier
12126 changes from doc-strings.
12127 (quit-windows-on): New function.
12129 * vc/vc.el (vc-revert, vc-rollback):
12130 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12131 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12132 (Bug#6183) (Bug#7074) (Bug#7447)
12134 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12136 * window.el (frame-auto-hide-function): Add version tag.
12139 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12141 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12144 2011-10-09 Leo Liu <sdl.web@gmail.com>
12146 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12149 2011-10-08 Glenn Morris <rgm@gnu.org>
12151 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12152 before the first code statement zero indent. (Bug#9690)
12154 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12156 * simple.el (count-words-region): Always count in the region.
12157 Report the number of lines and characters too.
12158 (count-words): New command, which counts in the buffer if the
12159 region is inactive, as count-words-region used to.
12160 (count-words--message): New function. Handle plurals.
12161 (count-lines-region): Make it an alias for count-words-region.
12163 * bindings.el (esc-map): Replace count-lines-region with
12164 count-words-region.
12166 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12168 * window.el (window--delete): Delete dedicated frame
12169 unconditionally when argument KILL is non-nil. (Bug#9699)
12170 (switch-to-buffer): Fix doc-string typo.
12172 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12174 * eshell/eshell.el (eshell-command): Avoid using hooks.
12176 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12178 * bindings.el ([M-left],[M-right]): Bind to left-word and
12179 right-word respectively.
12181 2011-10-07 Glenn Morris <rgm@gnu.org>
12183 * cus-start.el (debug-on-quit): Fix custom type.
12185 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12187 * subr.el (define-key-after): Clarify that the function is not
12188 useful for non-menu keymaps.
12190 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12192 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12194 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12195 in current minibuffer (Fix bug with recursive minibuffers).
12197 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12199 * progmodes/gdb-mi.el (gdb): Doc fix.
12201 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12203 * window.el (frame-auto-hide-function): New option replacing
12204 frame-auto-delete. Suggested by Stefan Monnier.
12205 (window--delete): Call frame-auto-hide-function instead of
12206 investigating frame-auto-delete.
12207 (window-point-1, set-window-point-1): New functions.
12208 (window-in-direction, record-window-buffer, window-state-get-1)
12209 (display-buffer-record-window): Use window-point-1 instead of
12211 (set-window-buffer-start-and-point): Use set-window-point-1.
12213 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12215 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12217 2011-10-05 Glenn Morris <rgm@gnu.org>
12219 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12220 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12222 2011-10-05 Leo Liu <sdl.web@gmail.com>
12224 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12225 works with buffer object.
12227 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12229 * mpc.el (mpc-tool-bar-map): Add labels.
12231 2011-10-04 Glenn Morris <rgm@gnu.org>
12233 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12235 2011-10-04 Martin Rudalics <rudalics@gmx.at>
12237 * window.el (window--delete): New function.
12238 (frame-auto-delete): Resuscitate option.
12239 (bury-buffer, replace-buffer-in-windows)
12240 (quit-window): Rewrite using window--delete.
12241 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12242 Pass display-buffer-mark-dedicated to window--display-buffer-2
12245 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12247 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12248 returns a list (bug#9554). Add remote file name completion.
12249 * comint.el (comint--table-subvert): Curry and get quote&unquote
12250 functions as arguments.
12251 (comint--complete-file-name-data): Adjust call accordingly.
12252 * pcomplete.el (pcomplete--table-subvert): Remove.
12253 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12255 * minibuffer.el (completion-table-case-fold): Use currying.
12256 (completion--styles-type, completion--cycling-threshold-type):
12258 (completion-styles, completion-category-overrides)
12259 (completion-cycle-threshold): Use them.
12260 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12261 completion-table-case-fold.
12263 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
12265 * minibuffer.el (completion-category-overrides): Fix type of styles
12266 and add more user friendly tags (bug#9660).
12268 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12270 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12271 (mule-input-method-string): New widget.
12272 (default-input-method, language-info-custom-alist): Use it.
12274 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12276 * pcomplete.el: Require comint.
12277 (pcomplete--common-suffix): Remove.
12278 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12279 (pcomplete--table-subvert): Sync with comint--table-subvert.
12280 (pcomplete--entries): Use comint-completion-file-name-table.
12281 * comint.el (comint-unquote-filename): Simplify.
12282 (comint-completion-file-name-table): New function (bug#9616).
12283 (comint--complete-file-name-data): Use it.
12285 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12286 (pcmpl-gnu-tar-buffer): Remove.
12287 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12288 around. Make sure pcomplete-suffix-list is only changed temporarily.
12289 Don't look inside the tar's file if it's too large.
12291 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
12293 * cus-edit.el (custom-mode-map):
12294 * epa.el (epa-key-list-mode-map):
12295 * man.el (Man-mode-map):
12296 * startup.el (splash-screen-keymap):
12297 * simple.el (special-mode-map): Use scroll-up-command and
12298 scroll-down-command.
12300 * progmodes/idlw-help.el (idlwave-help-mode-map):
12301 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12302 * net/newst-plainview.el (newsticker-mode-map):
12303 * emulation/ws-mode.el (wordstar-mode-map):
12304 * emulation/vi.el (vi-com-map):
12305 * calc/calc-graph.el (calc-graph-show-dumb):
12306 * term/sun.el (terminal-init-sun):
12307 * term/ns-win.el (global-map):
12308 * progmodes/grep.el (grep-mode-map):
12309 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12310 * mail/rmail.el (rmail-mode-map):
12311 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12313 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12314 custom-safe-themes as special.
12316 2011-10-01 Julien Danjou <julien@danjou.info>
12318 * notifications.el (notifications-notify): Fix docstring.
12320 2011-10-01 Per Starbäck <per@starback.se>
12322 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12324 2011-09-30 Martin Rudalics <rudalics@gmx.at>
12326 * startup.el (command-line-1): Fix last fix by inserting
12327 initial-scratch-message into *scratch* before displaying it.
12328 (Bug#9605) and (Bug#9636)
12330 2011-09-29 Eli Zaretskii <eliz@gnu.org>
12332 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12333 window is hscrolled, move by logical lines. (Bug#9607)
12334 (line-move-visual): Update the doc string to the above effect.
12336 2011-09-29 Martin Rudalics <rudalics@gmx.at>
12338 * window.el (display-buffer-record-window): When WINDOW is the
12339 selected window use `point' instead of `window-point'. (Bug#9626)
12341 * startup.el (command-line-1): Use insert-before-markers when
12342 inserting initial-scratch-message. (Bug#9605)
12344 * help.el (help-window): Remove variable.
12346 2011-09-29 Glenn Morris <rgm@gnu.org>
12348 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12350 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
12352 * descr-text.el (describe-char-categories): Accept category
12353 descriptions more than one line long.
12355 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12357 * simple.el (delete-trailing-whitespace): Fix last change.
12359 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12360 Don't confuse "y => 3" as the beginning of a `y' operation.
12362 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12363 object has more than 4 slots (bug#9613).
12365 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
12367 * subr.el (with-output-to-temp-buffer):
12368 * net/quickurl.el (quickurl, quickurl-browse-url):
12369 Fix typos in docstrings.
12371 2011-09-27 Eli Zaretskii <eliz@gnu.org>
12373 * minibuffer.el (completion-styles)
12374 (completion-category-overrides): Cross reference each other in doc
12377 2011-09-27 Glenn Morris <rgm@gnu.org>
12379 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12380 to split-string. (Bug#9606)
12382 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12384 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12387 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
12389 * emacs-lisp/package.el (list-packages): Fix echo area message.
12391 2011-09-27 Leo Liu <sdl.web@gmail.com>
12393 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12395 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
12397 * net/dbus.el (dbus-unregister-object): Don't release services for
12398 registered signals. (Bug#9581)
12400 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12402 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12403 function that picks between cfengine 2 and 3 support
12404 automatically. Update docs accordingly.
12406 2011-09-22 Kenichi Handa <handa@m17n.org>
12408 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12410 (indian-itrans-v5-table-for-tamil): New variable.
12411 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12413 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12415 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12416 that's true if the current command involved collapsing of text.
12417 It's reset to false at the beginning of the next command.
12418 (allout-post-command-business): Move the cursor to the beginning
12419 of entry if the cursor is hidden and collapsing activity just
12422 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
12424 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12425 tracking (Bug#9541).
12427 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
12429 * net/newst-reader.el (newsticker-html-renderer)
12430 (newsticker-show-news): Automatically load html rendering package
12431 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12432 because w3m-fill-column is let-bound" and the error "Symbol's value
12433 as variable is void: w3m-fill-column".
12435 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
12437 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12438 Release services only if they are defined. (Bug#9581)
12440 2011-09-23 Richard Stallman <rms@gnu.org>
12442 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12443 distinguish start of paragraph from start of its text.
12445 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12447 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12448 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12449 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12451 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12453 * international/mule-diag.el (mule-diag): Insert a newline after
12454 each fontset description.
12456 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12458 * simple.el (delete-trailing-whitespace):
12459 Document last change; simplify.
12461 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12463 * simple.el (delete-trailing-whitespace): Also delete
12464 extra newlines at the end of the buffer.
12466 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12467 (picture-newline): Use forward-line so as to ignore fields.
12469 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12471 * subr.el (with-wrapper-hook): Fix edebug spec.
12473 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12475 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12478 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
12480 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12481 Fix nasty bug using wrong cached values.
12483 2011-09-23 Alan Mackenzie <acm@muc.de>
12485 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12487 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
12489 * window.el (pop-to-buffer): Ensure right window is selected if we
12490 chose another frame.
12492 2011-09-22 Eli Zaretskii <eliz@gnu.org>
12494 * simple.el (what-cursor-position): Use get-char-property-change
12495 and next-single-char-property-change, to be able to show display
12496 properties that come from overlays as well as text properties.
12498 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
12500 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12502 * cmuscheme.el (run-scheme, switch-to-scheme):
12503 * cus-edit.el (customize-group, custom-buffer-create)
12504 (customize-browse):
12506 * shell.el (shell):
12507 * mail/sendmail.el (mail):
12508 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12510 2011-09-22 Richard Stallman <rms@gnu.org>
12512 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12513 move back only to line beg, don't move back over blank lines.
12515 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
12517 * files.el (copy-directory): Set directory attributes only in case
12518 they could be retrieved from the source directory. (Bug#9565)
12520 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12522 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12523 (hs-find-block-beginning, hs-hide-level-recursive):
12524 Ignore strings as well as comments. (Bug#9502)
12526 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12528 * progmodes/sql.el (sql-comint-postgres):
12529 Convert port number to a string. (Bug#9566)
12531 2011-09-22 Martin Rudalics <rudalics@gmx.at>
12533 * window.el (quit-window): Undedicate window when switching to
12534 previous buffer. Reported by Thierry Volpiatto
12535 <thierry.volpiatto@gmail.com>.
12536 (special-display-popup-frame): When popping up a new frame reset
12537 its previous buffers to nil. Simplify code.
12539 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
12541 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12542 and process filter, as done also in `shell-command'.
12544 2011-09-21 Martin Rudalics <rudalics@gmx.at>
12546 * window.el (set-window-buffer-start-and-point):
12547 Call set-window-start with NOFORCE argument t.
12548 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12549 (quit-window): Reword doc-string. Handle new format of
12550 quit-restore parameter. Don't delete window if it has a
12551 previous buffer we can show instead of the present one.
12552 (display-buffer-record-window): Rewrite using a new format for
12553 the quit-restore window parameter
12554 (special-display-popup-frame, display-buffer-same-window)
12555 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12556 (display-buffer-pop-up-window, display-buffer-use-some-window):
12557 Adapt symbol passed to display-buffer-record-window.
12558 * help.el (help-window-setup): Handle new format of quit-restore
12561 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12563 * faces.el (face-list): Fix docstring (bug#9564).
12565 * window.el (display-buffer--action-function-custom-type):
12566 Don't include internal functions in the Custom interface.
12568 2011-09-20 Juri Linkov <juri@jurta.org>
12570 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12571 (Info-forward-node, Info-backward-node, Info-next-preorder)
12572 (Info-last-preorder): Use it. (Bug#9528)
12574 2011-09-20 Juri Linkov <juri@jurta.org>
12576 * info.el (Info-last-preorder): Visit last menu item only when
12577 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12579 2011-09-20 Julien Danjou <julien@danjou.info>
12581 * password-cache.el (password-cache-remove): Remove entries even if the
12582 value is nil, so that password with a nil value (negative caching) is
12583 possible to invalidate.
12585 2011-09-20 Lawrence Mitchell <wence@gmx.li>
12587 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12588 all whitespace around breakpoint. (Bug#9553)
12589 (f90-find-breakpoint): Only break at whitespace inside a comment.
12591 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12593 * minibuffer.el (completion-file-name-table): Keep track of errors.
12594 (completion-table-with-predicate): Handle the case where pred1 is nil.
12595 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12597 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12599 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12600 (debugger-return-value): Signal an error if the debugging context does
12601 not await any return value.
12603 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12604 * image-mode.el (image-toggle-display-text)
12605 (image-toggle-display-image): Stay away from evil `intangible'.
12607 2011-09-19 Leo Liu <sdl.web@gmail.com>
12609 * replace.el (occur-revert-arguments): Make it permanent-local.
12610 (occur-mode): Don't call font-lock-defontify.
12612 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
12614 * net/ldap.el (ldap-search-internal): Don't push empty search
12617 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12619 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12621 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
12623 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12624 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12626 2011-09-18 Juri Linkov <juri@jurta.org>
12628 * buff-menu.el (Buffer-menu-mode-map):
12629 * dired.el (dired-mode-map):
12630 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12631 (lisp-interaction-mode-map):
12632 * emacs-lisp/package.el (package-menu-mode-map):
12633 * epa.el (epa-key-list-mode-map):
12634 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12635 (menu-bar-options-menu):
12636 * outline.el (outline-mode-menu-bar-map):
12637 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12638 * vc/vc-dir.el (vc-dir-menu-map):
12639 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12640 Capitalize non-function content words in menu item strings.
12642 * dired.el (dired-mode-map): Add menu item for
12643 `image-dired-dired-toggle-marked-thumbs'.
12645 2011-09-18 Juri Linkov <juri@jurta.org>
12647 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12648 to `isearch-case-fold-search' and restore its original value
12649 after the `isearch-mode' call.
12651 2011-09-18 Juri Linkov <juri@jurta.org>
12653 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12654 because `zgrep' returns 1 for successful matches (bug#9226).
12656 2011-09-18 Juri Linkov <juri@jurta.org>
12658 * info.el (Info-extract-menu-node-name): Check the second match
12659 for empty string (second test-case of bug#9528).
12660 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12661 intermediate nodes to the history (first test-case of bug#9528).
12663 2011-09-18 Juri Linkov <juri@jurta.org>
12665 * info.el (Info-mode-syntax-table): New variable.
12666 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12668 2011-09-18 Juri Linkov <juri@jurta.org>
12670 * info.el (Info-file-supports-index-cookies):
12671 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12672 outputs one more line for long file names (bug#4142).
12674 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12676 * newcomment.el (comment-normalize-vars): If prompting for
12677 comment-start, set comment-start-skip too (Bug#8424).
12679 2011-09-18 Johan Bockgård <bojohan@gnu.org>
12681 * icomplete.el: Fix previous fix of Bug#5849.
12682 (icomplete-mode): Don't set completion-show-inline-help.
12683 (icomplete-minibuffer-setup): Set completion-show-inline-help
12684 locally during icompletion.
12686 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12688 * woman.el (woman2-process-escapes): Don't delete unrecognized
12689 escapes (Bug#7843).
12691 * files.el (inhibit-first-line-modes-regexps): Add image files.
12692 (hack-local-variables-prop-line): Return nil for malformed
12693 prop-lines (Bug#9044).
12695 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
12697 * net/tramp.el (top): Don't require 'shell.
12698 (tramp-methods): Fix docstring.
12699 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
12700 Return complete remote file name. Handle "smb" case.
12701 Use `tramp-tmpdir', if defined for the respective method.
12702 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12704 * net/tramp-compat.el (top): Require 'shell.
12706 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12707 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12708 `tramp-current-host'.
12709 (tramp-get-remote-tmpdir): Remove.
12711 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12712 `tramp-tmpdir' entries.
12713 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12714 (tramp-smb-handle-file-attributes): Ignore errors.
12715 (tramp-smb-wait-for-output): Check also for process end.
12717 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12719 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12720 when sending QUIT (bug#9312).
12722 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
12724 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12725 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12726 occur-mode-display-occurrence.
12727 (occur-edit-mode): Add usage message.
12728 (occur-cease-edit): New command.
12729 (occur-after-change-function): Use text properties to find the
12730 position of the prefix text.
12731 (occur-engine): Set stickiness of prefix text properties.
12733 2011-09-17 Glenn Morris <rgm@gnu.org>
12735 * progmodes/etags.el (complete-tag):
12736 Fix call to completion-in-region. (Bug#9526)
12738 2011-09-17 Juri Linkov <juri@jurta.org>
12740 * textmodes/ispell.el (ispell-word): Add to the error message
12741 the word, ispell program name and current dictionary (bug#9121).
12742 (ispell-tex-arg-end): Capitalize "error" in the error message.
12744 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12746 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12749 2011-09-17 Juri Linkov <juri@jurta.org>
12751 * window.el (window-safe-min-height, window-safe-min-width):
12752 Fix typos (followup to bug#9522).
12754 2011-09-17 Sven Joachim <svenjoac@gmx.de>
12756 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12758 2011-09-16 Eli Zaretskii <eliz@gnu.org>
12760 * simple.el (line-move): If goal-column is set, move by logical
12761 lines, not by display lines. (Bug#971)
12762 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12763 to reflect the above change.
12765 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12767 * image.el (imagemagick-register-types): Use regexp-opt.
12769 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12771 * window.el (display-buffer-base-action): Rename from
12772 display-buffer-default-action. Make default value empty.
12773 (display-buffer-overriding-action): Convert to defvar.
12774 (display-buffer-fallback-action): New var.
12776 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12778 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12780 (package--add-to-archive-contents): If there is a duplicate entry
12781 with an older version, remove it.
12782 (package-menu-mark-delete, package-menu-mark-install)
12783 (package-menu-mark-unmark): Make unused args optional.
12784 (package-menu-mark-obsolete-for-deletion):
12785 Use package-menu-get-status instead of a regexp search.
12786 (package-menu-get-status): Use tabulated-list-entry.
12787 (package-menu-mark-upgrades): New command.
12788 (package-menu-mode-map): Bind it to U. Add it to menu bar.
12789 (package-menu-execute): Do installation before deletion.
12790 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12791 instead of checking major-mode.
12792 (package-menu--find-upgrades): New function.
12794 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12796 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12797 passwords in the log buffer.
12798 (smtpmail-process-filter): Update the process marker so that the
12799 "broken by peer" status message is inserted in the right place.
12801 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12803 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12804 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12805 bibtex-completion-at-point-function.
12806 (bibtex-completion-at-point-function): Use them.
12808 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12810 * mpc.el (mpc-constraints-tag-lookup): New function.
12811 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12812 also to browser "album|playlist".
12814 2011-09-14 Juri Linkov <juri@jurta.org>
12816 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12817 (isearch-edit-string): Use length of `isearch-string' when
12818 `isearch-fail-pos' returns nil.
12819 (isearch-message): Remove duplicate code and call
12820 `isearch-fail-pos' with arg `t'.
12822 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
12824 * replace.el (occur-mode-goto-occurrence): Don't force using other
12827 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12829 2011-09-14 Martin Rudalics <rudalics@gmx.at>
12831 * window.el (display-buffer-window): Remove.
12832 (display-buffer-record-window): Use help-setup window parameter
12833 instead of variable display-buffer-window.
12834 (display-buffer-function, special-display-buffer-names)
12835 (special-display-function): Mention help-setup parameter instead
12836 of display-buffer-window in doc-string.
12837 * help.el (help-window-setup): New argument help-window.
12838 Use help-window-setup parameter instead of display-buffer-window.
12839 Reword some messages.
12840 (with-help-window): Pass window used for displaying the buffer
12841 to help-window-setup. Don't set display-buffer-window.
12843 2011-09-13 Glenn Morris <rgm@gnu.org>
12845 * emacs-lisp/debug.el (debugger-make-xrefs):
12846 Preserve point. (Bug#9462)
12848 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12850 * window.el (window-deletable-p): Use next-frame.
12852 2011-09-13 Martin Rudalics <rudalics@gmx.at>
12854 * window.el (window-auto-delete): Remove.
12855 (window-deletable-p): Remove argument FORCE. Don't deal with
12856 dedication and previous buffers.
12857 (switch-to-prev-buffer): Don't delete window.
12858 (delete-windows-on): Delete a window's frame if and only if the
12859 window is dedicated.
12860 (replace-buffer-in-windows): Delete buffer's window or frame if
12861 and only if window is dedicated.
12862 (quit-window): Handle quit-restore as before last change.
12863 (bury-buffer): Delete window only if window-deletable-p returns t.
12865 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12867 * window.el (window-deletable-p): Never delete the last frame on a
12870 2011-09-13 Glenn Morris <rgm@gnu.org>
12872 * help.el (describe-key-briefly): Copy previous standard-output change.
12874 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
12876 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12878 2011-09-13 Glenn Morris <rgm@gnu.org>
12880 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12881 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12883 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
12885 * dired-aux.el (dired-mark-read-string): Don't return default
12886 value on empty input (Bug#9361).
12887 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12888 Omit initial minibuffer contents.
12889 (dired-do-chmod): Signal an error on empty input.
12890 (dired-mark-read-string): Don't return default on empty input.
12892 * files.el (file-modes-symbolic-to-number): Doc fix.
12894 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12896 * international/mule-cmds.el (ucs-completions): Remove.
12897 (read-char-by-name): Use complete-with-action instead; add metadata.
12899 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12901 * window.el (display-buffer--action-function-custom-type)
12902 (display-buffer--action-custom-type): New vars.
12903 (display-buffer-alist, display-buffer-default-action)
12904 (display-buffer-overriding-action): Add defcustom types.
12906 * frame.el (delete-other-frames): Doc fix (Bug#276).
12908 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12910 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12912 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12914 Change modes that used same-window-* vars to use switch-to-buffer.
12916 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12917 Use switch-to-buffer.
12919 * cus-edit.el (customize-group, custom-buffer-create)
12920 (customize-browse, custom-buffer-create-other-window):
12921 Use switch-to-buffer or switch-to-buffer-other-window.
12923 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12924 (Info-prev, Info-up, Info-speedbar-goto-node)
12925 (info-display-manual): Use switch-to-buffer.
12926 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12928 * mail/sendmail.el (mail): Use switch-to-buffer.
12929 (mail-recover): Use switch-to-buffer-other-window.
12931 * cmuscheme.el (run-scheme, switch-to-scheme):
12933 * shell.el (shell):
12934 * net/rlogin.el (rlogin):
12935 * net/telnet.el (telnet, rsh):
12936 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12938 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12940 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12942 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12944 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12945 so don't mention it (bug#9301).
12946 (dired-sort-toggle-or-edit): Clarify string further.
12948 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12949 match `x', `w32' and `ns', like the manual says (bug#9029).
12951 * subr.el (eval-after-load): Doc string clarification (bug#9125).
12952 (process-kill-buffer-query-function): Mention the buffer name in
12955 * image-mode.el (image-next-line): The line parameter is mandatory
12958 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12959 which can be useful (bug#9301).
12961 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12963 * subr.el (match-string): Mention that the current buffer should
12964 be the same as the search was done in (bug#9282).
12966 * facemenu.el: Disable the remove-* commands if the mark isn't
12969 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12971 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12973 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12975 * replace.el (occur-mode-goto-occurrence)
12976 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12977 and display-buffer.
12979 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12982 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12983 special-display and same-window variables.
12984 (mail-other-window): Use switch-to-buffer-other-window.
12985 (mail-other-frame): USe switch-to-buffer-other-frame.
12987 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12988 Use display-buffer-other-frame.
12989 (gdb-display-gdb-buffer): Use pop-to-buffer.
12991 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12993 * progmodes/python.el: Don't set same-window-buffer-names.
12995 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12997 * window.el (display-buffer-alist): Add *Python*.
12999 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13001 * window.el (display-buffer-alist): Add entry for buffers
13002 previously handled same-window-*.
13003 (display-buffer-alist, display-buffer-default-action)
13004 (display-buffer-overriding-action): Mark as risky.
13005 (display-buffer-alist): Document action function changes.
13006 (display-buffer--same-window-action)
13007 (display-buffer--other-frame-action): New variables.
13008 (switch-to-buffer, display-buffer-other-frame): Use them.
13009 (display-buffer): Rename reuse-frame entry to reusable-frames.
13010 (display-buffer-reuse-selected-window): Function deleted.
13011 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13012 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13013 (display-buffer-special): New function.
13014 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13015 display-buffer-reuse-or-pop-window. Split off special-display
13016 part into display-buffer-special.
13017 (display-buffer-use-some-window): Don't perform any special
13018 pop-up-frames handling.
13019 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13020 (display-buffer--maybe-same-window): Rename from
13021 display-buffer-maybe-same-window.
13023 * info.el: Don't set same-window-regexps.
13024 (info-setup): New function.
13025 (info-other-window, info): Call it.
13027 * cus-edit.el: Don't set same-window-regexps.
13028 (customize-group): New argument.
13029 (customize-group-other-window): Use it.
13030 (customize-face, customize-face-other-window): Likewise.
13031 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13035 * progmodes/gud.el: Don't set same-window-regexps.
13040 * mail/sendmail.el:
13041 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13043 2011-09-10 Juri Linkov <juri@jurta.org>
13045 * isearch.el (isearch-edit-string): Remove obsolete mention of
13046 `C-w' (`isearch-yank-word-or-char') from docstring.
13047 (isearch-query-replace): Fix typo in docstring (bug#9466).
13049 2011-09-10 Juri Linkov <juri@jurta.org>
13051 * paren.el (show-paren-function): Don't show escaped parens.
13052 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13054 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13056 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13057 (mm-default-file-encoding): Remove autoload forms, they are
13058 replaced with autoload cookies in mml.el and mm-encode.el.
13059 (mail-add-attachment): New command.
13060 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13061 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13063 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13065 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13067 * simple.el (count-words-region): Use buffer if there's no region
13070 2011-09-09 Juri Linkov <juri@jurta.org>
13072 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13073 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13074 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13076 2011-09-09 Alan Mackenzie <acm@muc.de>
13078 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13079 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13081 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13083 Fix for Savannah bug#9392.
13084 * simple.el (mail-encode-mml): New defvar.
13086 * mail/rmail.el (mail-encode-mml): Add a defvar.
13087 (rmail-enable-mime-composing): Default to t.
13088 (rmail-forward): Use MIME method of forwarding only if both
13089 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13090 Set mail-encode-mml non-nil if the MIME method was used.
13092 * mail/sendmail.el (mml-to-mime): Add autoload form.
13093 (mail-encode-mml): Add a defvar.
13094 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13096 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13097 message through mml-to-mime, and reset mail-encode-mml to nil.
13099 2011-09-09 Glenn Morris <rgm@gnu.org>
13101 * woman.el (woman-if-body): When processing an .el block,
13102 do not delete the next .el block as well. (Bug#9447)
13103 (woman-special-characters): Add oq, cq, and hy characters.
13105 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13107 * window.el (window-deletable-p): Make sure window is live before
13108 invoking window-prev-buffers.
13110 2011-09-08 Leo Liu <sdl.web@gmail.com>
13112 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13114 2011-09-08 Juri Linkov <juri@jurta.org>
13116 * progmodes/compile.el (compilation-environment): Make it
13117 a defcustom (bug#8340).
13119 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13121 * window.el (frame-auto-delete): Rename to window-auto-delete.
13122 Make it control auto-deletion of windows and/or frames.
13123 (window-deletable-p): New argument FORCE. Rewrite conditions
13124 for deleting window/frame. (Bug#9419)
13125 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13126 Rewrite handling of case when window/frame can be deleted.
13127 (delete-windows-on): Call window-deletable-p with new FORCE
13128 argument t. (Bug#9456)
13130 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13132 * help-mode.el (help-mode): Restore autoload.
13134 2011-09-07 Juri Linkov <juri@jurta.org>
13136 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13137 `compilation-environment'. Set buffer-local
13138 `compilation-environment' to `thisenv' later after (funcall mode).
13141 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13142 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13143 instead of replacing its value. (Bug#8340)
13145 2011-09-07 Juri Linkov <juri@jurta.org>
13147 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13148 based on text properties put by `grep-filter' instead of matching
13150 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13151 to the value of `grep-error-screen-columns' (bug#9438).
13153 2011-09-07 Juri Linkov <juri@jurta.org>
13155 * simple.el (next-error-highlight, next-error-highlight-no-select):
13156 Doc fix (bug#9432).
13158 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13160 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13161 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13163 2011-09-07 Leo Liu <sdl.web@gmail.com>
13165 * net/rcirc.el (rcirc-mode): Conditionally initialize
13168 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13170 * emacs-lisp/find-func.el (find-function-C-source): Only set
13171 find-function-C-source-directory after checking that we found a source
13172 file there (bug#9440).
13174 2011-09-06 Alan Mackenzie <acm@muc.de>
13176 * isearch.el (isearch-other-meta-char): Wherever a key list is
13177 unread, "unread" the prefix arg, too. This fixes bug #8901.
13179 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13181 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13183 2011-09-05 Juri Linkov <juri@jurta.org>
13185 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13187 2011-09-05 Juri Linkov <juri@jurta.org>
13189 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13190 keeping point where processing of grep matches begins, and
13191 continue to delete remaining escape sequences from the same point.
13192 (grep-filter): Make leading zero optional in "0?1;31m" because
13193 git-grep emits "\033[1;31m" escape sequences unlike expected
13194 "\033[01;31m" as GNU Grep does (bug#9408).
13195 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13197 2011-09-05 Juri Linkov <juri@jurta.org>
13199 * subr.el (y-or-n-p): Capitalize "yes".
13201 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13203 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13204 `tramp-cache-unload-hook' where appropriate.
13205 (tramp-methods): Rename `tramp-remote-sh' to
13206 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13207 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13209 * net/tramp-sh.el (top): Don't require 'shell.
13210 (tramp-methods): Add `tramp-remote-shell' and
13211 `tramp-remote-shell-args' entries.
13212 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13213 (tramp-sh-handle-shell-command): Remove.
13214 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13215 Use `tramp-remote-shell'.
13217 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
13219 * mail/sendmail.el (sendmail-query-once-function): Delete.
13220 (sendmail-query-once): Save directly to send-mail-function.
13221 Update message-send-mail-function too.
13223 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13225 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13227 * progmodes/python.el (python-mode-map): Use correct function to
13228 start python interpreter from menu-bar (as reported by Geert
13230 (inferior-python-mode-map): Fix typo.
13231 (python-shell-map): Remove.
13233 2011-09-03 Deniz Dogan <deniz@dogan.se>
13235 * net/rcirc.el (rcirc-print): Simplify code for
13236 rcirc-scroll-show-maximum-output. There is no need to walk
13237 through all windows to find the right one.
13239 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13241 * help.el (help-return-method): Doc fix.
13243 2011-09-03 Martin Rudalics <rudalics@gmx.at>
13245 * window.el (window-deletable-p): Don't return a non-nil value
13246 when there's a buffer that was shown in the window before.
13248 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13249 Set window's previous buffers to nil.
13251 2011-09-03 Eli Zaretskii <eliz@gnu.org>
13253 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13254 newline before and after the tag line, so it doesn't interfere
13255 with determining the paragraph direction of bidirectional text.
13257 2011-09-03 Leo Liu <sdl.web@gmail.com>
13259 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13261 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13263 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13264 (pop-to-buffer): Change interactive spec. Pass second argument
13265 directly to display-buffer.
13266 (display-buffer): Fix interactive spec. Use functionp to
13267 distinguish between a function and a list of functions.
13269 * abbrev.el (edit-abbrevs):
13270 * arc-mode.el (archive-extract):
13271 * autoinsert.el (auto-insert):
13272 * bookmark.el (bookmark-bmenu-list):
13273 * files.el (find-file):
13274 * view.el (view-buffer):
13275 * progmodes/compile.el (compilation-goto-locus):
13276 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13278 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13280 * window.el (display-buffer-alist): Doc fix.
13281 (display-buffer): Add docstring. Don't treat
13282 display-buffer-default specially.
13283 (display-buffer-reuse-selected-window)
13284 (display-buffer-same-window, display-buffer-maybe-same-window)
13285 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13286 (display-buffer-pop-up-window)
13287 (display-buffer-reuse-or-pop-window)
13288 (display-buffer-use-some-window): New functions.
13289 (display-buffer-default-action): Use them.
13290 (display-buffer-default): Delete.
13291 (pop-to-buffer-1): Fix choice of actions.
13293 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13295 * minibuffer.el (completion--insert-strings): Don't get confused by
13296 completion entries that end with an LF char.
13298 2011-09-01 Eli Zaretskii <eliz@gnu.org>
13300 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13302 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
13304 * window.el (display-buffer): Restore interactive spec.
13305 (display-buffer-same-window, display-buffer-other-window):
13307 (pop-to-buffer-1): New function. Use the above.
13308 (pop-to-buffer, pop-to-buffer-same-window): Use it.
13309 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13311 * view.el (view-buffer-other-window, view-buffer-other-frame):
13312 Just use pop-to-buffer.
13314 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13316 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13318 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13320 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13322 2011-08-31 Richard Stallman <rms@gnu.org>
13324 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13325 of the separation of rmail-view-buffer from rmail-buffer.
13326 If you say no to "replace original", the decrypt is in the
13327 view buffer. If you say yes, the decrypt goes into the
13330 2011-08-31 Martin Rudalics <rudalics@gmx.at>
13332 * window.el (display-buffer-window): Rewrite doc-string.
13333 (display-buffer-record-window): New function.
13334 (display-buffer-macro-specifiers)
13335 (display-buffer-even-window-sizes, display-buffer-set-height)
13336 (display-buffer-set-width, display-buffer-in-window)
13337 (display-buffer-reuse-window, display-buffer-split-specifiers)
13338 (display-buffer-side-specifiers, display-buffer-split-window-1)
13339 (display-buffer-split-window, display-buffer-split-atom-window)
13340 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13341 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13342 (display-buffer-other-window-means-other-frame)
13343 (display-buffer-normalize-special)
13344 (display-buffer-normalize-default)
13345 (display-buffer-normalize-argument)
13346 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13347 (display-buffer-normalize-specifiers, display-buffer-frame)
13348 (display-buffer-same-window, display-buffer-same-frame)
13349 (display-buffer-other-window)
13350 (display-buffer-same-frame-other-window)
13351 (display-buffer-other-frame, pop-to-buffer-same-window)
13352 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13353 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13354 (switch-to-buffer-same-frame)
13355 (switch-to-buffer-other-window-same-frame)
13356 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13357 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13358 (display-buffer-alist-set): Remove.
13359 (display-buffer-function, special-display-buffer-names)
13360 (special-display-regexps, special-display-function):
13361 In doc-string refer to display-buffer-window and quit-restore
13363 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13364 (special-display-frame-alist, special-display-popup-frame)
13365 (same-window-buffer-names, same-window-regexps, same-window-p)
13366 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13367 (split-window-preferred-function, split-height-threshold)
13368 (split-width-threshold, window-splittable-p)
13369 (split-window-sensibly, window--try-to-split-window)
13370 (window--frame-usable-p, even-window-heights)
13371 (window--even-window-heights, window--display-buffer-1)
13372 (window--display-buffer-2, display-buffer-other-frame):
13373 Restore old Emacs 23 code, order and doc-strings where applicable.
13374 (display-buffer-default, display-buffer-assq-regexp): New functions.
13375 (display-buffer-alist): Rewrite doc-string.
13376 (display-buffer-default-action)
13377 (display-buffer-overriding-action): New variables.
13378 (display-buffer, switch-to-buffer): Rewrite.
13379 (pop-to-buffer): Restore Emacs 23 behavior but use
13380 window-normalize-buffer-to-display.
13381 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13382 Restore Emacs 23 behavior but use
13383 window-normalize-buffer-to-switch-to.
13384 (pop-to-buffer-same-window): Rewrite.
13385 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13386 Rewrite using Emacs 23 options.
13388 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
13390 * net/tramp.el (tramp-root-regexp): Remove.
13391 (tramp-completion-file-name-regexp-unified)
13392 (tramp-completion-file-name-regexp-separate)
13393 (tramp-completion-file-name-regexp-url): Don't use leading volume
13394 letter on w32 systems. (Bug#5303, Bug#9311)
13395 (tramp-drop-volume-letter): Simplify definition.
13396 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13398 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13400 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13403 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13405 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13407 2011-08-29 Juri Linkov <juri@jurta.org>
13409 * isearch.el (isearch-done): Don't display message "Mark saved"
13410 when arg `edit' is non-nil to prevent its flicker in the echo area.
13412 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13414 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13415 obsolete packages for deletion.
13417 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13419 * help-mode.el (help-mode-map): Add special-mode-map to parent.
13420 (help-mode): Derive help-mode from special-mode. Don't invoke
13421 view-mode from help-mode.
13422 (help-xref-override-view-map): Remove.
13423 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13424 view-mode is not used anymore.
13426 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13428 * server.el (server-port): Doc fix.
13430 * cus-theme.el (custom-theme-choose-mode): Inherit from
13431 special-mode (Bug#9124).
13432 (custom-theme-choose-mode-map): Add special-mode to parent.
13434 2011-08-28 Alan Mackenzie <acm@muc.de>
13436 * progmodes/cc-fonts.el
13437 (c-make-font-lock-BO-decl-search-function): New function.
13438 (c-basic-matchers-after - "Fontify the clauses after various
13439 keywords"): Extract the three keyword lists for the 3 erroneous
13440 constructs from the list of four, and use the new function above
13441 in place of an old one.
13443 2011-08-28 Deniz Dogan <deniz@dogan.se>
13445 * net/rcirc.el (rcirc-insert-prev-input)
13446 (rcirc-insert-next-input): Remove unused argument.
13448 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13450 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13452 2011-08-27 Alan Mackenzie <acm@muc.de>
13454 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13455 handle function pointer parameters properly.
13457 2011-08-27 Martin Rudalics <rudalics@gmx.at>
13459 * window.el (display-buffer-reuse-window): Fix case where
13460 selected window was reused with non-nil OTHER-WINDOW argument.
13463 2011-08-27 Deniz Dogan <deniz@dogan.se>
13465 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13466 oftc's NickServ messages.
13468 2011-08-27 Glenn Morris <rgm@gnu.org>
13470 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13472 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
13474 * emacs-lisp/package.el (package-install): Call package-initialize
13475 if called interactively.
13477 2011-08-26 Leo Liu <sdl.web@gmail.com>
13479 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13481 2011-08-25 Juri Linkov <juri@jurta.org>
13483 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13484 `search-whitespace-regexp' (bug#9364).
13486 2011-08-25 Juri Linkov <juri@jurta.org>
13488 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13489 `regexp-search-ring' to their global values to protect from
13490 updating by `read-from-minibuffer' (bug#9185).
13492 2011-08-25 Juri Linkov <juri@jurta.org>
13494 * textmodes/ispell.el (ispell-command-loop): Add newline
13495 at the end of the "Use option `i'..." line.
13497 2011-08-25 Juri Linkov <juri@jurta.org>
13499 * battery.el (display-battery-mode): If `battery-status-function'
13500 or `battery-mode-line-format' is nil, display the message and set
13501 `display-battery-mode' to nil (bug#9363).
13503 2011-08-25 Eli Zaretskii <eliz@gnu.org>
13505 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13506 bidi-string-mark-left-to-right; they are unnecessary now.
13508 2011-08-25 Deniz Dogan <deniz@dogan.se>
13510 * net/quickurl.el: Documentation typo fixes.
13512 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
13514 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13516 2011-08-25 Glenn Morris <rgm@gnu.org>
13518 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13520 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13521 (smtpmail-via-smtp): Handle nil response from smtp.
13523 2011-08-24 Juri Linkov <juri@jurta.org>
13525 * proced.el (proced-marked): Inherit from `error' instead of
13526 `font-lock-warning-face'.
13528 * ibuffer.el (ibuffer-marked-face): Change default face from
13529 `font-lock-warning-face' to `warning'.
13530 (ibuffer-deletion-face): Change default face from
13531 `font-lock-type-face' to `error'.
13533 * battery.el (battery-update): Use the face `error' instead of
13534 `font-lock-warning-face' (bug#6117).
13536 2011-08-24 Juri Linkov <juri@jurta.org>
13538 * faces.el (success): Change face color from "Green3" to
13539 "ForestGreen" on light background (bug#9353).
13541 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
13543 * window.el (quit-window): Rename from quit-restore-window.
13544 Use same arglist as old quit-window.
13545 (frame-auto-delete): Doc fix.
13547 * view.el (view-mode-exit): Use quit-window.
13549 2011-08-24 Juri Linkov <juri@jurta.org>
13551 * isearch.el (isearch-ring-adjust1): Start visiting previous
13552 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13553 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13554 for empty search string (when the last search string is reused
13555 automatically) to adjust the isearch ring to the last element and
13556 prepare the correct index for further M-p commands (bug#9185).
13558 2011-08-24 Kenichi Handa <handa@m17n.org>
13560 * international/ucs-normalize.el: If decomposition property of
13561 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13563 (nfd, nfkd): Likewise.
13565 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13567 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13568 from process filters aren't reliably transmitted to the surrounding
13569 accept-process-output.
13570 (mpc-proc-check): New function.
13571 (mpc-proc-sync): Use it (bug#8293)
13573 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13575 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13576 Add compatibility functions (bug#9313).
13578 2011-08-23 Eli Zaretskii <eliz@gnu.org>
13580 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13582 * international/uni-bidi.el: Regenerate.
13584 2011-08-23 Kenichi Handa <handa@m17n.org>
13586 * international/charprop.el:
13587 * international/uni-bidi.el:
13588 * international/uni-category.el:
13589 * international/uni-combining.el:
13590 * international/uni-comment.el:
13591 * international/uni-decimal.el:
13592 * international/uni-decomposition.el:
13593 * international/uni-digit.el:
13594 * international/uni-lowercase.el:
13595 * international/uni-mirrored.el:
13596 * international/uni-name.el:
13597 * international/uni-numeric.el:
13598 * international/uni-old-name.el:
13599 * international/uni-titlecase.el:
13600 * international/uni-uppercase.el: Regenerate.
13602 2011-08-23 Martin Rudalics <rudalics@gmx.at>
13604 * help.el (help-window-setup): Fix message displayed when other
13605 window is reused. (Bug#9341)
13607 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13609 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13610 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13612 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13614 * shell.el (shell-parse-pcomplete-arguments): New function.
13615 (shell-completion-vars): Use it instead (bug#9160).
13617 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13619 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13620 strings and comments (bug#9333).
13622 * emacs-lisp/debug.el (debug-arglist): New function.
13623 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13624 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13626 2011-08-22 Juri Linkov <juri@jurta.org>
13628 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13629 Revert regexp that highlights output switches to its old
13630 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13632 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13633 to check for empty output (bug#9226).
13635 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
13637 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13638 symbol-constituent as the default, as that stops font-lock from
13639 working properly (Bug#8843).
13641 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13643 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13644 `coding-system-for-*' around the process open call to avoid
13645 auth-source side effects.
13646 (smtpmail-try-auth-methods): Expand the secret password.
13647 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13650 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13652 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13654 * emacs-lisp/find-func.el (find-function-noselect): New arg
13657 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13658 signal an error for built-in functions (Bug#6664).
13660 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13662 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13663 (smtpmail-try-auth-methods): Use it.
13665 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13667 * font-lock.el (font-lock-fontify-region)
13668 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13669 (font-lock-default-unfontify-buffer)
13670 (font-lock-default-fontify-region)
13671 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13673 * progmodes/compile.el (compilation-error-properties):
13674 Fix confusion between file struct and message struct (Bug#9319).
13675 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13678 * net/browse-url.el (browse-url-firefox): Don't call
13679 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13681 2011-08-20 Glenn Morris <rgm@gnu.org>
13683 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13685 * tutorial.el (tutorial--default-keys): Update some default bindings.
13687 * files.el (hack-local-variables): Fully ignore case for "mode:".
13689 2011-08-20 Alan Mackenzie <acm@muc.de>
13691 Resolve invalid use of a regexp in regexp-opt.
13693 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13694 detection for a java annotation.
13696 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
13697 detection for a java annotation.
13699 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13701 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13703 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
13705 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13708 2011-08-20 Alan Mackenzie <acm@muc.de>
13710 Fontify CPP expressions correctly when starting in the middle of
13711 such a construct. Mainly for when jit-lock etc. starts a chunk
13714 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
13716 (c-make-font-lock-search-form): New function, extracted from
13717 c-make-font-lock-search-function.
13718 (c-make-font-lock-search-function): Use the above function.
13719 (c-make-font-lock-context-search-function): New function.
13720 (c-cpp-matchers): Enhance the preprocessor expression case with
13722 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13723 which takes an expression.
13725 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13727 2011-08-20 Martin Rudalics <rudalics@gmx.at>
13729 * window.el (display-buffer-reuse-window)
13730 (display-buffer-pop-up-window): Don't reuse or split a side
13733 2011-08-19 Glenn Morris <rgm@gnu.org>
13735 * files.el (hack-local-variables-prop-line, hack-local-variables):
13736 Downcase "Mode:". (Bug#9331)
13738 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
13740 * international/characters.el: Add L and R categories.
13742 * subr.el (bidi-string-mark-left-to-right): Rename from
13743 string-mark-left-to-right. Use category search.
13745 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13747 2011-08-18 Juri Linkov <juri@jurta.org>
13749 * faces.el (error, warning, success): New faces with definitions
13750 copied from old default values of `font-lock-warning-face',
13751 `compilation-warning', `compilation-info' (bug#6117).
13753 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13755 * progmodes/compile.el (compilation-error): Inherit from `error'.
13756 (compilation-warning): Inherit from `warning'.
13757 (compilation-info): Inherit from `success'.
13759 * dired.el (dired-marked): Inherit from `warning'.
13760 (dired-flagged): Inherit from `error'.
13762 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13764 * mail/smtpmail.el (auth-source): Require to avoid problems with
13765 binding variables (bug#9298). Also clean up some unused
13768 * net/network-stream.el (network-stream-open-starttls):
13769 Support using starttls.el without using gnutls-cli.
13771 2011-08-17 Juri Linkov <juri@jurta.org>
13773 * progmodes/grep.el (rgrep): Handle the case when
13774 `grep-find-command' is a cons cell (bug#9278).
13776 2011-08-17 Martin Rudalics <rudalics@gmx.at>
13778 * window.el (display-buffer-pop-up-frame): Run frame creation
13779 function with BUFFER current (as special-display-popup-frame
13780 does). Reported by Drew Adams.
13782 2011-08-17 Daiki Ueno <ueno@unixuser.org>
13784 * epa-mail.el: Simplify GnuPG group expansion using
13786 (epa-mail-group-alist, epa-mail-group-modtime)
13787 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13788 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13789 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13792 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
13794 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13796 2011-08-16 Alan Mackenzie <acm@muc.de>
13798 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13799 Correct, to avoid the inside of macros.
13801 2011-08-16 Richard Stallman <rms@gnu.org>
13803 * epa-mail.el: Handle GnuPG group definitions.
13804 (epa-mail-group-alist, epa-mail-group-modtime)
13805 (epa-mail-gnupg-conf-file): New variables.
13806 (epa-mail-parse-groups, epa-mail-sync-groups)
13807 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13808 (epa-mail-expand-recipients): New functions.
13809 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13811 * mail/rmail.el (rmail-epa-decrypt): New command.
13813 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13814 Don't bind buffer-read-only, just inhibit-read-only.
13815 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13816 (epa-decrypt-armor-in-region): Make error message clearer.
13818 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13820 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13821 and "a2b" to "ab" for `prefix'.
13823 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
13825 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13827 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13828 Fourquet (Bug#8804).
13830 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
13832 * startup.el (argi): Declare as global variable (bug#9275).
13834 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
13836 * subr.el (string-mark-left-to-right): Search the entire string
13837 for RTL script, not just the terminating character. Doc fix.
13839 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13841 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13843 (js--regexp-literal, js-syntax-propertize-function): Remove.
13844 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13845 (js-mode-map): Don't rebind electric keys.
13846 (js-insert-and-indent): Remove.
13847 (js-mode): Setup electric-layout and electric-indent instead.
13849 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13851 2011-08-12 Daiki Ueno <ueno@unixuser.org>
13853 * epa.el (epa-progress-callback-function): Fix the logic of
13854 displaying progress.
13855 * epa-file.el (epa-file-insert-file-contents): Make progress
13856 display more user-friendly.
13857 (epa-file-write-region): Ditto.
13859 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
13861 * subr.el (string-mark-left-to-right): New function.
13863 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13864 Use string-mark-left-to-right.
13865 (list-buffers-noselect): Caller changed.
13867 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13868 Use string-mark-left-to-right.
13869 (tabulated-list-print): Recenter after moving point.
13871 2011-08-10 Juri Linkov <juri@jurta.org>
13873 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13874 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13875 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13877 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
13879 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13882 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
13884 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13885 character. (Bug#6594)
13887 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
13889 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13890 (image-dired--with-db-file): New macro.
13891 (image-dired-write-tags, image-dired-remove-tag)
13892 (image-dired-create-gallery-lists, image-dired-write-comments)
13893 (image-dired-get-comment, image-dired-mark-tagged-files)
13894 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13895 (image-dired-gallery-generate): Use insert-file-contents.
13897 * time.el (display-time-world-list, display-time-world-display):
13898 * time-stamp.el (time-stamp-string):
13899 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13900 set-time-zone-rule (Bug#7337).
13902 2011-08-08 Daiki Ueno <ueno@unixuser.org>
13904 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13905 (epg-error-to-string, epg-errors-to-string): New function.
13906 (epg-wait-for-completion): Reverse errors list.
13907 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13908 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13909 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13910 (epg-sign-keys, epg-generate-key-from-file)
13911 (epg-generate-key-from-string): Format errors by using
13912 epg-errors-to-string (bug#9255).
13913 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13915 2011-08-07 Juri Linkov <juri@jurta.org>
13917 * faces.el (list-faces-display): Remove extra angle bracket
13918 from `help-mode-map'.
13920 * info.el (Info-history-toc-nodes): Doc fix.
13922 * longlines.el (longlines-mode): Doc fix.
13924 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13926 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13927 of statements and in a few more cases (bug#9183).
13929 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13931 (cl-transform-lambda): Use them (bug#9239).
13933 2011-08-05 Martin Rudalics <rudalics@gmx.at>
13935 * window.el (display-buffer-same-window)
13936 (display-buffer-same-frame, display-buffer-other-window)
13937 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13938 (pop-to-buffer-other-window)
13939 (pop-to-buffer-same-frame-other-window)
13940 (pop-to-buffer-other-frame): Make them defuns.
13941 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13943 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13945 * subr.el (make-composed-keymap): Move from C. Change calling
13946 convention, and improve docstring to bring attention to a subtle point.
13947 * minibuffer.el (completing-read-default): Adjust accordingly.
13949 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
13951 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13952 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13954 * net/trampver.el: Update release number.
13956 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13958 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13961 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13963 * mail/sendmail.el (sendmail-query-once): Restore the current
13964 buffer after querying (bug#9074).
13966 * dired.el (dired-flagged): Use different faces for marked and
13967 flagged files (bug#6117).
13969 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13972 * ido.el (ido-mode): Switch off the message if called
13975 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13976 before 587, since it appears that that's more likely to work for
13979 * cus-edit.el (custom-file): When running under emacs -q, always
13980 refuse to save the customizations, even if the .emacs file doesn't
13983 * info.el: Remove the `Info-beginning-of-buffer' function
13986 * net/network-stream.el (network-stream-open-starttls):
13987 Use `starttls-available-p' to see whether starttls.el can be used.
13989 2011-08-01 Martin Rudalics <rudalics@gmx.at>
13991 * window.el (display-buffer-in-window): Don't set dedicated status
13992 of window here (Bug#9215).
13993 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13994 (display-buffer-pop-up-side-window)
13995 (display-buffer-in-side-window): Set dedicated status of window here.
13997 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13999 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14000 before binding generated-autoload-file.
14002 2011-08-01 Deniz Dogan <deniz@dogan.se>
14004 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14006 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14008 Sync with Tramp 2.2.2.
14010 * net/trampver.el: Update release number.
14012 2011-07-30 Juri Linkov <juri@jurta.org>
14014 * dired-aux.el (dired-touch-initial): Remove function.
14015 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14016 current time, and `default' to the last modification time of the
14017 current marked file (bug#6887).
14019 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14021 * simple.el (goto-line): Use string-to-number to provide a
14022 numeric argument to read-number (bug#9163).
14024 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14026 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14027 connection process, it could be nil.
14029 2011-07-27 Leo Liu <sdl.web@gmail.com>
14031 Simplify url handling in rcirc-mode.
14033 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14034 (rcirc-browse-url-at-mouse): Remove.
14035 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14037 2011-07-26 Alan Mackenzie <acm@muc.de>
14039 Fontify bitfield declarations properly.
14041 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14042 (c-symbol-chars): Now exported as a lang variable.
14043 (c-not-primitive-type-keywords): New lang variable.
14045 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14046 QT keyword "more" to prevent "more slots: ...." being spuriously
14047 parsed as a bitfield declaration.
14049 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14050 Refactor and enhance to handle bitfield declarations.
14051 (c-punctuation-in): New function.
14052 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14053 declarations properly.
14055 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14057 * calendar/icalendar.el (icalendar--all-events): Take care of
14058 multiple vcalendars in a single file.
14059 (icalendar--convert-float-to-ical): Checkdoc fixes.
14061 2011-07-25 Deniz Dogan <deniz@dogan.se>
14063 * image.el (insert-image): Clarifying docstring.
14065 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14067 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14068 `tramp-send-command-and-check' if there is no error.
14069 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14071 2011-07-22 Alan Mackenzie <acm@muc.de>
14073 Prevent cc-langs.elc being loaded at run time.
14075 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14078 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14079 "(require 'cc-langs)". Quote a form so it will evaluate at
14080 (cc-mode's) compilation time.
14082 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14084 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14085 loading. (Bug#9114)
14087 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14089 * window.el (display-buffer-pop-up-window)
14090 (display-buffer-pop-up-side-window)
14091 (display-buffer-in-side-window): Call display-buffer-set-height
14092 and display-buffer-set-width after setting the new window's
14093 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14095 2011-07-20 Sam Steingold <sds@gnu.org>
14097 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14098 (etags-tags-included-tables): Call `convert-standard-filename' on
14099 the file names contained in TAGS so that windows Emacs can handle
14100 TAGS files created by cygwin ctags.
14102 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14104 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14105 which apparently didn't work.
14107 2011-07-19 Roland Winkler <winkler@gnu.org>
14109 * proced.el (proced-send-signal): For *Marked Processes* buffer
14110 put point at beginning of buffer.
14112 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14114 * proced.el (proced-format): Make header lines align with the text
14117 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14119 * view.el (view-buffer): Allow running in `special' modes if we're
14120 visiting a file (bug#8615).
14122 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14124 * window.el (display-buffer-alist-of-strings-p)
14125 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14127 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14130 2011-07-18 Alan Mackenzie <acm@muc.de>
14132 Fontify declarators properly when, e.g., a jit-lock chunk begins
14133 inside a declaration.
14135 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14137 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14139 (c-complex-decl-matchers): Insert reference to
14140 c-font-lock-enclosing-decls.
14142 * progmodes/cc-engine.el (c-backward-single-comment):
14143 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14144 to nil around calls to (forward-comment -1).
14146 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14148 * image.el (put-image): Doc typo fix.
14150 * progmodes/etags.el (tags-search): Doc typo fix.
14152 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14153 password if we get errors 550 to 554.
14155 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14157 * net/gnutls.el (gnutls-log-level): Remove.
14159 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14160 indentation character (bug#6380).
14162 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14164 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14165 to clarify what the problem is (bug#4291).
14167 * simple.el (current-kill): Clarify what
14168 `interprogram-paste-function' does (bug#7500).
14169 (auto-fill-mode): Document `auto-fill-function' in relation to
14170 `auto-fill-mode' (bug#2470).
14172 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14174 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14175 method if slot is read-only (bug#9035).
14177 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14179 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14180 * window.el (pop-to-buffer): Select window used even if it was
14181 selected before, see discussion of (Bug#8615), (Bug#6954).
14182 Pass argument NORECORD on to select-frame-set-input-focus.
14184 2011-07-15 Glenn Morris <rgm@gnu.org>
14186 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14189 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14191 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14192 (gnutls-negotiate): Use it.
14194 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14196 * net/gnutls.el (gnutls-negotiate):
14197 Upcase `gnutls-algorithm-priority'.
14199 2011-07-15 Glenn Morris <rgm@gnu.org>
14201 * jka-compr.el (jka-compr-verbose): Move from here...
14202 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14203 Add missing :version tag.
14204 * info.el: No need to require jka-compr when compiling.
14206 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14208 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14209 (gnutls-negotiate): Use it.
14211 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14213 * info.el (Info-beginning-of-buffer): New command.
14214 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14215 announcing `b' as the key (bug#8325).
14216 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14218 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14220 * international/mule-cmds.el
14221 (describe-specified-language-support): Make the error message
14222 clearer (bug#8905).
14224 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14226 * isearch.el (isearch-barrier): Add a doc string, since it's
14227 mentioned in a function doc string (bug#8678).
14229 2011-07-15 Martin Rudalics <rudalics@gmx.at>
14231 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14232 buffer argument (Bug#9083) and self-identifying label argument.
14234 2011-07-15 Glenn Morris <rgm@gnu.org>
14236 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14238 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14240 * man.el (Man-fontify-manpage): Fix message when formatting the
14241 man page (bug#7929).
14243 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14245 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14246 argument LRM; if non-nil, append an invisible LRM character to the
14248 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14249 last argument non-nil, when formatting buffer names.
14250 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14251 paragraph direction.
14253 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14255 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14256 the man page name (bug#7929).
14258 * image.el (put-image): Mention the `put-image' overlay property
14261 * scroll-bar.el (set-scroll-bar-mode): Mention that
14262 `scroll-bar-mode' lists the values (bug#7772).
14264 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14265 command (bug#7729).
14267 * rect.el (apply-on-rectangle): Return the point after the last
14269 (string-rectangle): Go to the point after the last operation
14272 * printing.el (pr-toggle-region): Clarify the documentation
14273 slightly (bug#7493).
14275 * time.el (display-time-update):
14276 Allow `display-time-mail-function' to return nil (bug#7158).
14277 Fix suggested by Detlev Zundel.
14279 * vc/diff.el (diff): Clarify the order the file names are read
14282 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14283 the doc string (bug#7015).
14285 * font-lock.el (font-lock-maximum-decoration): Mention what
14286 numeric levels mean (bug#6935).
14288 * startup.el (initial-buffer-choice): Don't mention the `none'
14289 selection, which is against policy.
14291 2011-07-14 Martin Rudalics <rudalics@gmx.at>
14293 * window.el (display-buffer-normalize-special):
14294 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14296 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14298 * subr.el (version<, version<=, version=): Mention "-CVS" and
14299 "-12345" alpha version numbers.
14301 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14303 * bindings.el: Add advertised binding for set-mark-command
14306 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14308 * bindings.el (mode-line-other-buffer):
14309 * bookmark.el (bookmark-bmenu-2-window):
14310 * bs.el (bs-cycle-next, bs-cycle-previous):
14311 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14314 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14317 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
14319 * follow.el (follow-debug-message, follow-redisplay):
14320 * jka-cmpr-hook.el (with-auto-compression-mode):
14321 Fix typos in docstrings.
14323 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14325 * subr.el (with-silent-modifications): Clarify somewhat what the
14326 macro inhibits (bug#6525).
14328 * simple.el (eval-expression): Note what it does if called
14329 interactively (bug#6495).
14331 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14333 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14334 Use pop-to-buffer buffer-or-name if it is nil.
14336 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14337 Remove switch-to-buffer.
14339 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14341 * files.el (make-directory): Clarify that an error will be raised
14342 if there's an error (bug#6397).
14344 * startup.el (initial-buffer-choice): Add `none' as a choice
14347 * subr.el (add-hook): Clarify section about buffer-local hooks
14350 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14352 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14354 * tabify.el (untabify): Preserve the current column so that point
14355 doesn't move (bug#6032).
14357 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14359 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14360 Rewrite to avoid awkward possessive "s" (bug#5986).
14362 2011-07-13 Glenn Morris <rgm@gnu.org>
14364 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14365 (dired-insert-directory): Give a message the first time
14366 if ls is found not to support --dired.
14368 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14370 * simple.el (toggle-truncate-lines): Clarify what is toggled
14371 (bug#5580). Text by Drew Adams.
14373 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14375 * simple.el (blink-matching-open): Make the error message from the
14376 last change less verbose.
14378 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14380 * font-lock.el (font-lock-comment-face): Use the high contrast
14381 "yellow" color for font-lock-comment-face on low color terminals
14382 using a dark background color (bug#4221).
14384 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14386 * dired.el (dired-insert-set-properties): Make the doc string
14387 reflect what it does now (bug#5325).
14389 * simple.el (blink-matching-open): Say that we were unable to find
14390 the match within the limit, if we're limited (bug#5122).
14392 * international/mule-cmds.el (prefer-coding-system): Add an
14393 example (bug#4869).
14395 * progmodes/etags.el (tags-search): Document `file-list-form'
14398 2011-07-13 Lawrence Mitchell <wence@gmx.li>
14400 * net/browse-url.el (browse-url-default-browser)
14401 (browse-url-browser-function): Make the default browser choice a
14402 bit more logical (bug#4300). Also clean up the doc string.
14404 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14406 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14407 binary endings (bug#4440).
14409 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14411 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14412 which can be pretty annoying (bug#8971).
14414 * jka-compr.el (jka-compr-verbose): New variable, and use
14415 throughout (bug#8971).
14417 * info.el (Info-find-file): Fall back on the installation
14418 directory if we can't find the info node anywhere else.
14420 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14422 * vc/vc.el (vc-revert-file):
14423 Don't set file time-stamp in the past. (Bug#5181)
14425 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14427 * files.el (after-find-file): Give a better error message when
14428 trying to find a symlink that points to a file that doesn't exist
14431 * progmodes/cc-vars.el: Remove (probably) misleading comment
14434 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14436 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14438 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14440 * mouse-sel.el: Hack restoring functionality, while keeping
14441 compatibility with 2010-07-03 changes to mouse selection.
14442 (mouse-sel-primary-overlay): New var.
14443 (mouse-sel-selection-alist): Use it.
14444 (mouse-sel-mode): Doc fix; remove points that are default features
14447 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14449 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14450 Fix previous fix (bug#2490).
14452 2011-07-12 Roland Winkler <winkler@gnu.org>
14454 * textmodes/bibtex.el (bibtex-initialize):
14455 Use pop-to-buffer-same-window.
14456 (bibtex-search-entries): Fix interactive call.
14458 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14460 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14461 Fontise bytecomp Error lines more correctly (bug#2490).
14462 Fix suggested by Johan Bockgård.
14464 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14466 * dired-x.el (dired-guess-default): Use `delete-dups'.
14468 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14470 * dired.el (dired-mark-prompt):
14471 * dired-aux.el (dired-read-shell-command): Doc fix.
14473 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14475 * mail/sendmail.el (sendmail-query-once):
14476 Use `customize-save-variable' unconditionally, now that it works under
14479 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14481 * cus-edit.el (custom-file): Take an optional no-error variable.
14482 (customize-save-variable): Set the variable, and give a warning if
14483 running under "emacs -q".
14485 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
14487 * loadhist.el (unload-feature-special-hooks):
14488 Add `auto-coding-functions', `fill-nobreak-predicate' and
14489 `find-directory-functions' (bug#5327).
14491 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14493 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14495 * cus-edit.el (custom-guess-name-alist): -alist variables should
14496 use the `alist' type (bug#3120). Suggested by Drew Adams.
14498 * printing.el: Add documentation to all the `pr-toggle-' commands.
14500 2011-07-11 Leo Liu <sdl.web@gmail.com>
14502 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14503 backends where it makes sense (bug#2623).
14505 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14507 * dired-x.el (dired-guess-default): Remove duplicate shell command
14508 entries (bug#2028).
14509 (dired-guess-default): Fix grammar in doc string (bug#2028).
14510 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14512 * subr.el (remove-duplicates): New conveniency function.
14514 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14516 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14519 2011-07-10 Martin Rudalics <rudalics@gmx.at>
14521 * window.el (display-buffer-normalize-default): Don't invert
14522 meaning of even-window-heights. Reported by Eli Zaretskii
14525 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14527 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14529 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
14531 * window.el (display-buffer): Fix arguments to
14532 display-buffer-reuse-window in last change.
14534 * faces.el (link): Use a less saturated blue on light backgrounds.
14536 * startup.el (fancy-startup-text, fancy-about-text)
14537 (fancy-startup-tail): Use font-lock faces, for background safety.
14539 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14541 * emulation/viper-cmd.el (viper-change-state-to-vi):
14542 Limit triggering of abbrev expansion (Bug#9038).
14544 2011-07-09 Martin Rudalics <rudalics@gmx.at>
14546 * window.el (display-buffer-default-specifiers): Remove.
14547 (display-buffer-macro-specifiers): Remove default specifiers.
14548 (display-buffer-alist): Default to nil.
14549 (display-buffer-reuse-window): New optional argument other-window.
14550 (display-buffer-pop-up-window): Allow splitting internal
14551 windows. Check whether a live window was created.
14552 (display-buffer-other-window-means-other-frame)
14553 (display-buffer-normalize-arguments): Rename to
14554 display-buffer-normalize-argument and rewrite. Set the
14555 other-window specifier.
14556 (display-buffer-normalize-special): New function.
14557 (display-buffer-normalize-options): Rename to
14558 display-buffer-normalize-default and rewrite.
14559 (display-buffer-normalize-options-inhibit): Remove.
14560 (display-buffer-normalize-specifiers): Rewrite.
14561 (display-buffer): Process other-window specifier and call
14562 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14564 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14565 (display-buffer-alist-set): Don't handle 'unset default values.
14566 (display-buffer-in-window, display-buffer-alist-set):
14567 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
14568 <tassilo@member.fsf.org>.
14570 2011-07-09 Leo Liu <sdl.web@gmail.com>
14572 * register.el (insert-register): Restore accidental change on
14573 2011-06-26. (Bug#9028)
14575 2011-07-09 Glenn Morris <rgm@gnu.org>
14577 * subr.el (remq): Handle the empty list. (Bug#9024)
14579 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14581 * mail/sendmail.el (send-mail-function): No longer delay custom
14583 * custom.el (custom-initialize-delay): Doc fix.
14585 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14587 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14589 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
14591 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14592 human-friendly prompt.
14594 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14596 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14597 provided by a particular plugin.
14599 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14601 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14602 save customizations (with "emacs -Q"), just set the variable
14603 instead of erroring out.
14605 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14607 2011-07-08 Juri Linkov <juri@jurta.org>
14609 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14610 (archive-zip-update-case): Use 7z if found by `executable-find'.
14611 The order of searching the available programs is the same as in
14612 `archive-zip-extract' (bug#8968).
14614 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14616 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14617 (menu-bar-options-menu): Tweak descriptions.
14619 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14621 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14622 menu items into verb phrases (bug#1421). Also refill to fit under
14625 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14627 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14628 (Info-read-node-name): Doc fix (Bug#1084).
14630 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14631 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14632 (end-of-sexp, beginning-of-sexp)
14633 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14634 (forward-symbol, forward-same-syntax, word-at-point)
14635 (sentence-at-point): Doc fix (Bug#1144).
14637 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14639 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14640 should cover it (bug#1281).
14642 * cus-edit.el (custom-show): Mark as obsolete.
14644 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14645 negotiation fails, then possibly try again with a non-encrypted
14646 connection (bug#9017).
14648 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14651 2011-07-07 Richard Stallman <rms@gnu.org>
14653 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14654 property, and handle its changed format.
14655 Look for the correct line number.
14656 Use file's line contents (but not past first =) to find
14657 correct line in message.
14659 2011-07-07 Kenichi Handa <handa@m17n.org>
14661 * international/characters.el (build-unicode-category-table):
14663 (unicode-category-table): Set it by unicode-property-table-internal.
14665 * international/mule-cmds.el (char-code-property-alist): Move to
14667 (get-char-code-property): Call unicode-property-table-internal to
14668 load a file. Call get-unicode-property-internal where necessary.
14669 (put-char-code-property): Call unicode-property-table-internal to
14670 load a file. Call put-unicode-property-internal where necessary.
14671 put-unicode-property-internal where necessary.
14672 (char-code-property-description):
14673 Call unicode-property-table-internal to load a file.
14675 * international/charprop.el:
14676 * international/uni-bidi.el:
14677 * international/uni-category.el:
14678 * international/uni-combining.el:
14679 * international/uni-comment.el:
14680 * international/uni-decimal.el:
14681 * international/uni-decomposition.el:
14682 * international/uni-digit.el:
14683 * international/uni-lowercase.el:
14684 * international/uni-mirrored.el:
14685 * international/uni-name.el:
14686 * international/uni-numeric.el:
14687 * international/uni-old-name.el:
14688 * international/uni-titlecase.el:
14689 * international/uni-uppercase.el: Regenerate.
14691 * loadup.el: Load international/charprop.el before
14692 international/characters.
14694 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14696 * window.el (next-buffer, previous-buffer): Signal an error if
14697 called from a minibuffer window.
14699 * bindings.el: Revert 2011-07-04 change.
14701 2011-07-06 Richard Stallman <rms@gnu.org>
14703 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14704 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14705 Treat markers like ints.
14706 (rmail-mime-entity): Doc fix.
14708 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14710 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14711 defcustom again for backwards compatibility.
14713 * simple.el (shell-command-on-region): Fill.
14715 * dired-aux.el (dired-kill-line): Add a doc string.
14717 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14718 to "\\sw\\|\\s_" (bug#358).
14720 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14721 (dired-unmark-backward): Ditto.
14722 (dired-flag-backup-files): Ditto.
14724 * dired-x.el (dired-mark-sexp): Ditto.
14726 2011-07-06 Richard Stallman <rms@gnu.org>
14728 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14729 (rmail-mime-entity): New arg TRUNCATED.
14730 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14732 (rmail-mime-save): Warn if entity is truncated.
14733 (rmail-mime-toggle-hidden): Likewise, for showing.
14734 (rmail-mime-process-multipart): Record when an entity is truncated.
14736 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14737 if ENTITY is a string.
14739 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14741 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
14742 of faces when `M-C-x'-ing their definitions (bug#8378).
14743 Also clean up the code slightly.
14745 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
14746 because that makes the colors go away.
14748 * mail/sendmail.el (send-mail-function): Change the default to
14749 `sendmail-query-once'.
14750 (sendmail-query-once): Add an autoload cookie.
14752 * net/network-stream.el (network-stream-open-starttls): Try using
14753 a plain connection even if the server offered STARTTLS, and we
14754 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14755 capability. This should make smtpmail.el work in slightly more
14758 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
14760 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14762 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14764 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14766 * progmodes/sql.el: Version 3.0
14767 (sql-product-alist): Add product :completion-object,
14768 :completion-column, and :statement attributes.
14769 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14770 (sql-mode-syntax-table): Mark all punctuation.
14771 (sql-font-lock-keywords-builder): Temporarily remove fallback on
14773 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14774 (sql-mode-oracle-font-lock-keywords): Improve.
14775 (sql-oracle-show-reserved-words): New function for development.
14776 (sql-product-font-lock): Simplify for source code buffers.
14777 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14779 (sql-highlight-product): Set product specific syntax table.
14780 (sql-mode-map): Add statement movement functions.
14781 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14783 (sql-statement-regexp, sql-beginning-of-statement)
14784 (sql-end-of-statement, sql-signum): New functions.
14785 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14786 (sql-show-sqli-buffer): Bug fix.
14787 (sql-interactive-mode): Store connection data as buffer local.
14788 (sql-connect): Add NEW-NAME parameter. Redesign interaction
14789 with sql-interactive-mode.
14790 (sql-save-connection): Save buffer local settings.
14791 (sql-connection-menu-filter): Change menu entry name.
14792 (sql-product-interactive): Bug fix.
14793 (sql-preoutput-hold): New variable.
14794 (sql-interactive-remove-continuation-prompt): Bug fixes.
14795 (sql-debug-redirect): New variable.
14796 (sql-str-literal): New function.
14797 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14799 (sql-oracle-save-settings, sql-oracle-restore-settings)
14800 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14801 (sql-completion-object, sql-completion-column)
14802 (sql-completion-sqlbuf): New variables.
14803 (sql-build-completions-1, sql-build-completions)
14804 (sql-try-completion): New functions.
14805 (sql-read-table-name): Use them.
14806 (sql-contains-names): New buffer local variable.
14807 (sql-list-all, sql-list-table): Use it.
14808 (sql-oracle-completion-types): New variable.
14809 (sql-oracle-completion-object, sql-sqlite-completion-object)
14810 (sql-postgres-completion-object): New functions.
14812 2011-07-06 Glenn Morris <rgm@gnu.org>
14814 * window.el (pop-to-buffer): Doc fix.
14816 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
14818 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14820 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
14822 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14824 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14826 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
14828 * button.el (button): Inherit from link face. Suggested by Dan
14831 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14833 * progmodes/gdb-mi.el: Fit in 80 columns.
14834 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14837 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14838 if imenu is simply not configured (bug#8941).
14840 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14842 * allout.el (allout-post-undo-hook): New allout outline-change
14843 event hook to signal undo activity.
14844 (allout-post-command-business): Run allout-post-undo-hook if an
14845 undo just occurred.
14846 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14847 * allout-widgets.el (allout-widgets-after-undo-function):
14848 Ensure the integrity of the current item's decoration after it has been
14849 in the vicinity of an undo.
14850 (allout-widgets-mode): Include allout-widgets-after-undo-function
14851 on the new allout-post-undo-hook.
14853 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14855 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14856 Let define-derived-mode define it.
14857 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14858 cycles of abbrev-table inheritance (bug#8998).
14860 2011-07-05 Roland Winkler <winkler@gnu.org>
14862 * textmodes/bibtex.el: Add support for biblatex.
14863 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14864 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14865 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14866 (bibtex-entry-alist, bibtex-field-alist): New variables.
14867 (bibtex-entry-field-alist): Obsolete alias for
14868 bibtex-BibTeX-entry-alist.
14869 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14870 (bibtex-set-dialect): New command.
14871 (bibtex-entry-type, bibtex-entry-head)
14872 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14873 Bind via bibtex-set-dialect.
14874 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14875 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14876 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14877 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14878 Define via bibtex-set-dialect.
14879 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14880 Obey bibtex-no-opt-remove-re.
14881 (bibtex-vec-push, bibtex-vec-incr): New functions.
14882 (bibtex-format-entry, bibtex-field-list)
14883 (bibtex-print-help-message, bibtex-validate)
14884 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14886 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14888 * progmodes/compile.el (compilation-goto-locus):
14889 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14890 * bs.el (bs-cycle-next, bs-cycle-previous):
14891 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14892 * bindings.el (mode-line-other-buffer):
14893 * autoinsert.el (auto-insert):
14894 * arc-mode.el (archive-extract):
14895 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14897 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14899 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14900 Fix check of `emacs-lock-unlockable-modes'.
14901 Coerce true values of `emacs-lock--try-unlocking' to t.
14903 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14905 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14906 * emacs-lock.el: New file.
14908 2011-07-05 Julien Danjou <julien@danjou.info>
14910 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14911 than `boundp' to check if face is set.
14913 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14915 * register.el (registerv-make):
14916 * window.el (window-min-height): Fix typos in docstrings.
14918 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14920 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
14923 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14925 * server.el (server-execute): Catch quit and call
14926 `server-return-error' to pass the error back to emacsclient and
14927 close the connection (bug#8942).
14929 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14931 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14932 insecure exception for current topic. Also note that auto-saves
14933 are handled differently.
14935 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
14936 State variables for tracking auto-save inhibition situation.
14938 (allout-write-contents-hook-handler): Rename from
14939 'allout-write-file-hook-handler', and describe how it depends on
14940 write-contents-functions sensitivity to non-nil value to prevent
14943 (allout-auto-save-hook-handler): Remove. auto-save does not check
14944 this in individual buffers, only in the starting buffer, so this
14945 is not the right way for us to inhibit auto-save in a buffer
14946 according to its condition.
14948 (allout-mode): Use new allout-write-contents-hook-handler, and
14949 only with write-contents-functions. Remove auto-save provisions -
14950 they're implemented elsewhere.
14952 (allout-before-change-handler): If undo is in progress, note that
14953 for attention of allout-post-command-business.
14955 (allout-post-command-business): If the command we're following was
14956 an undo, check for change in the status of encrypted items and
14957 adjust auto-save inhibitions accordingly.
14959 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14960 according to whether there are or aren't any plain-text topics
14961 pending encryption.
14963 (allout-inhibit-auto-save-info-for-decryption):
14964 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14965 if there are plain-text topics pending encryption.
14967 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14968 buffer-saved-size and some allout state to not inhibit auto-saves
14969 if there are no longer any plain-text topics pending encryption.
14971 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14972 No longer provide for exemption of the current topic.
14974 2011-07-04 Juri Linkov <juri@jurta.org>
14976 Add 7z operations to delete and save changed members (bug#8968).
14977 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14979 (archive-7z-write-file-member): New function.
14980 (archive-7z-summarize): Fix the number of dashes in the
14983 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14985 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14988 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
14990 * bindings.el: Ignore next-buffer and previous-buffer in
14991 minibuffer-local-map.
14993 * font-lock.el (font-lock-builtin-face): Change light background
14994 color to dark slate blue (Bug#6693).
14996 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14998 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15000 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15002 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15003 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15004 Add switch-to-buffer.
15006 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15008 * isearch.el (isearch-search-fun-function): Clarify further the
15009 meaning of the function returned.
15011 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15013 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15015 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15016 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15018 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15019 `tramp-default-remote-path' does not exist.
15020 (tramp-send-command-and-read): New optional argument NOERROR.
15021 (tramp-open-connection-setup-interactive-shell)
15022 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15023 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15024 (tramp-process-sentinel): Flush also process' connection property.
15025 (tramp-sh-handle-start-file-process): Do not set process
15026 sentinel. It is done now ...
15027 (tramp-maybe-open-connection): ... here. (Bug#8929)
15029 2011-07-04 MON KEY <monkey@sandpframing.com>
15031 * play/animate.el (animate-string): Doc fixes and allow changing
15032 the buffer name (bug#5417).
15034 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15036 * play/animate.el (animation-buffer-name): Rename from *animate*.
15038 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15040 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15041 This is simpler and helps future-proof the code.
15042 (timer-until): Use time-subtract and float-time.
15043 (timer--time-less-p): Use time-less-p.
15045 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15047 * type-break.el (timep): Use the value of `float-time' to avoid a
15048 byte-compiler warning.
15050 * server.el (server-eval-and-print): Return any result, even nil.
15052 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15054 * type-break.el: Accept time formats that the builtins accept.
15055 (timep, type-break-time-difference): Accept any format that
15056 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15057 This is simpler and helps future-proof the code.
15058 (type-break-time-difference): Round rather than ignoring
15059 subseconds components.
15061 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15063 * info.el (Info-apropos-matches): Make non-interactive, since it
15064 doesn't seem to do anything useful as a command (bug#8829).
15066 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15068 * frame.el (frame-background-mode, frame-set-background-mode):
15069 Move from faces.el.
15070 (frame-default-terminal-background): New function.
15072 * custom.el (custom-push-theme): Don't record faces in `changed'
15073 theme; this doesn't work correctly for per-frame face settings.
15074 (disable-theme): Use face-set-after-frame-default to reset faces.
15075 (custom--frame-color-default): New function.
15077 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15079 * dired.el (dired-flagging-regexp): Remove unused variable
15082 2011-03-29 Kevin Ryde <user42@zip.com.au>
15084 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15085 `perl-Test2' extend to match possible "fail #N" rep count
15088 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15090 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15091 `smtpmail-via-smtp' now returns the error instead of nil.
15093 * isearch.el (isearch-search-fun-function): Clarify the doc string
15096 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15098 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15099 unnecessary spaces (bug#8987).
15101 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15103 * net/network-stream.el (open-network-stream): Use the
15104 :end-of-capability command thoughout.
15106 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15108 * net/network-stream.el (open-network-stream): Add the
15109 :end-of-capability command parameter, used by pop3.el.
15111 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15113 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15115 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15116 for list)" (bug#6475).
15118 * files.el (file-expand-wildcards): Ignore non-readable
15119 sub-directories while trying to find matches instead of signaling
15120 an error (bug#6297).
15122 * man.el (Man-reference-regexp): Allow matching possible
15123 word-wrapped references (bug#6289).
15125 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15126 for consistency with the other vc buffers (bug#6197).
15127 (vc-checkin): Ditto.
15129 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15131 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15133 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15135 * custom.el (defcustom): Clarify that :set is only used in the
15136 Customize user interface (bug#6089).
15138 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15139 associated with a file, refuse to run instead of erroring out
15142 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15143 the doc string, since it appears that using `fill-column' always
15144 controls the width (bug#7845).
15146 * simple.el (shell-command-on-region): Say where the error output
15147 went if `shell-command-default-error-buffer' is set (bug#6857).
15149 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15151 * allout.el (allout-yank-processing): Adjust cursor position for
15152 backwards-deleted space.
15154 (allout-rebullet-heading): Register changes with
15155 allout-exposure-changed-hook, so the modified topic is properly
15158 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15160 * minibuffer.el (completion-in-region): Document PREDICATE
15163 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15164 of keyword/argument pairs (bug#6904).
15166 * replace.el (multi-occur):
15167 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15169 2011-07-02 Drew Adams <drew.adams@oracle.com>
15171 * dired.el (dired-mark-if): Make the message about whether it's
15172 marking or unmarking clearer (bug#8523).
15174 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15176 * disp-table.el (display-table-print-array): New function.
15177 (describe-display-table): Use it to print the vectors more pretty
15180 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15182 * window.el (window-state-get-1): Don't assign clone numbers.
15183 Add clone-of item to list of window parameters.
15184 (window-state-put-2): Don't process clone numbers.
15185 (display-buffer-alist): Fix doc-string.
15187 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15189 * subr.el (remq): Don't allocate if it's not needed.
15190 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15191 (keymap--merge-bindings): New functions.
15192 (keymap-canonicalize): Use them to refine the canonicalization.
15193 * minibuffer.el (minibuffer-local-completion-map)
15194 (minibuffer-local-must-match-map): Move initialization from C.
15195 (minibuffer-local-filename-completion-map): Move initialization from C;
15196 don't inherit from anything here.
15197 (minibuffer-local-filename-must-match-map): Make obsolete.
15198 (completing-read-default): Use make-composed-keymap to combine
15199 minibuffer-local-filename-completion-map with either
15200 minibuffer-local-must-match-map or
15201 minibuffer-local-filename-completion-map.
15203 2011-07-01 Glenn Morris <rgm@gnu.org>
15205 * type-break.el (type-break-time-sum): Use dolist.
15207 * textmodes/flyspell.el (flyspell-word-search-backward):
15208 Replace CL function.
15210 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15212 * mouse.el (mouse--strip-first-event): New function.
15213 (function-key-map): Use it to map fringe clicks to normal clicks
15216 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15217 (vc-bzr-revision-completion-table): Add support for annotate and date.
15219 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15220 inherit from parent.
15222 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15224 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15225 (dired-show-file-type): Doc fixup (bug#8818).
15227 * dired.el (dired-mode): Fix up the doc string as suggested by
15228 Drew Adams (bug#8817).
15230 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15231 cookie, since the manual says that it should be possible to add
15232 this function to `find-file-hook' (bug#8709).
15234 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15236 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15237 here. Noted Ted Zlatanov as the maintainer.
15238 (cfengine-common-settings, cfengine-common-syntax): New functions
15239 to set up common things between `cfengine-mode' and
15241 (cfengine3-mode): New mode.
15242 (cfengine3-defuns cfengine3-defuns-regex
15243 (cfengine3-class-selector-regex cfengine3-category-regex)
15244 (cfengine3-vartypes cfengine3-font-lock-keywords)
15245 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15246 (cfengine3-indent-line): Add from cfengine3.el.
15248 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
15250 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15252 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15254 2011-07-01 Martin Rudalics <rudalics@gmx.at>
15256 * window.el (same-window-buffer-names, same-window-regexps)
15257 (same-window-p, special-display-frame-alist)
15258 (special-display-popup-frame, special-display-function)
15259 (special-display-buffer-names, special-display-regexps)
15260 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15261 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15262 (split-window-preferred-function, split-height-threshold)
15263 (split-width-threshold, even-window-heights)
15264 (display-buffer-mark-dedicated, window-splittable-p)
15265 (split-window-sensibly, window-safely-shrinkable-p):
15267 (display-buffer): Don't spread args with function specifier
15268 because special-display-popup-frame won't like it.
15270 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15272 Time-stamp simplifications and fixes.
15273 These improve accuracy slightly, and future-proof the code
15274 against some potential changes to current-time format.
15276 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15277 by using time-since and float-time.
15279 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15280 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15281 + NNN microseconds".
15283 * type-break.el (type-break-time-sum): Rewrite using time-add.
15285 * play/hanoi.el (hanoi-current-time-float): Remove.
15286 All uses replaced by float-time.
15288 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15289 This yields a more-accurate answer.
15290 (rng-time-to-float): Remove; no longer needed.
15292 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15294 * calendar/timeclock.el (timeclock-seconds-to-time):
15295 Defalias to seconds-to-time, since they're the same thing.
15297 * emacs-lisp/elp.el (elp-elapsed-time):
15298 * emacs-lisp/benchmark.el (benchmark-elapse):
15299 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15301 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15303 * window.el (bury-buffer): Don't iconify the only frame.
15304 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15305 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15307 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
15309 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15310 Add mouse-yank-primary.
15312 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15314 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15316 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15318 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15319 (find-library-name): Use it to find relative load names when provided
15320 absolute file name (bug#8803).
15322 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15324 * textmodes/flyspell.el (flyspell-word): Consider words that
15325 differ only in case as potential doublons (bug#5687).
15327 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15328 Remove two rather uninteresting debugging-like messages to make
15329 debbugs.el more silent.
15331 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15332 a password-like phrase.
15334 2011-06-30 Masatake YAMATO <yamato@redhat.com>
15336 * progmodes/cc-guess.el: New file.
15338 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15340 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15341 derived from `c-basic-common-init'.
15343 * progmodes/cc-mode.el (top-level): Require cc-guess.
15344 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15346 2011-06-30 Lawrence Mitchell <wence@gmx.li>
15348 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15350 2011-06-30 Alan Mackenzie <acm@muc.de>
15352 * progmodes/cc-engine.el (c-guess-continued-construct):
15353 Correct the handling of template-args-cont, particularly for when font
15354 lock is disabled. Name this case as "CASE G".
15356 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15358 * allout.el (allout-yank-processing): Fix injection of extra space
15359 between bullet and non-whitespace character in first topic when
15360 pasting, ensuring that the actual spacing in the pasted topic
15361 following the bullet char is preserved. This extra space was
15362 causing pasted encrypted topics to get a decrypted status even
15363 when the content was actually still encrypted. Now the decryption
15364 status from before the paste is preserved.
15366 (allout-flag-region): Set all allout overlays so they evaporate
15367 when reduced to zero length (evanescent), to prevent overlay
15370 2011-06-30 Glenn Morris <rgm@gnu.org>
15372 * w32-fns.el (w32-charset-info-alist): Declare.
15374 * find-dired.el (find-grep-options): Simplify.
15376 * term/ns-win.el (ns-set-resource): Declare.
15378 * ses.el (row, col): Declare dynamic variables honestly.
15380 * textmodes/reftex-parse.el (index-tags): Declare.
15382 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
15384 * cus-edit.el (customize-push-and-save): New function.
15386 * files.el (hack-local-variables-confirm): Use it.
15388 * custom.el (load-theme): New arg NO-CONFIRM.
15389 Use customize-push-and-save (Bug#8720).
15390 (custom-enabled-themes): Doc fix.
15392 * cus-theme.el (customize-create-theme)
15393 (custom-theme-merge-theme): Callers to load-theme changed.
15395 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15397 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15398 short URLs have at least one dot in them (bug #7614).
15400 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15401 nil, because using a pty is apparently too slow (bug #895).
15403 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15405 * mail/sendmail.el (sendmail-query-once): New function.
15406 (sendmail-query-once-function): New variable.
15408 2011-06-29 Glenn Morris <rgm@gnu.org>
15410 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15412 * ses.el (top-level): Require cl when compiling.
15413 (ses-set-localvars): Fix error statement.
15414 Call it at compile time to silence a storm of warnings.
15416 2011-06-29 Martin Rudalics <rudalics@gmx.at>
15418 * window.el (normalize-live-buffer): Rename to
15419 window-normalize-buffer.
15420 (normalize-live-frame): Rename to window-normalize-frame.
15421 (normalize-any-window): Rename to window-normalize-any-window.
15422 (normalize-live-window): Rename to window-normalize-live-window.
15423 (make-window-atom): Rename to window-make-atom.
15424 (window-resize-reset): Rename to window--resize-reset.
15425 (window-resize-reset-1): Rename to window--resize-reset-1.
15426 (resize-mini-window): Rename to window--resize-mini-window.
15427 (resize-subwindows-skip-p): Rename to
15428 window--resize-subwindows-skip-p.
15429 (resize-subwindows-normal): Rename to
15430 window--resize-subwindows-normal.
15431 (resize-subwindows): Rename to window--resize-subwindows.
15432 (resize-other-windows): Rename to window--resize-siblings.
15433 (resize-this-window): Rename to window--resize-this-window.
15434 (resize-root-window): Rename to window--resize-root-window.
15435 (resize-root-window-vertically): Rename to
15436 window--resize-root-window-vertically.
15437 (normalize-buffer-to-display): Rename to
15438 window-normalize-buffer-to-display.
15439 (normalize-buffer-to-switch-to): Rename to
15440 window-normalize-buffer-to-switch-to.
15441 Correspondingly update all callers of the functions listed
15443 (display-buffer-alist, display-buffer-normalize-arguments)
15444 (display-buffer-normalize-options, display-buffer)
15445 (display-buffer-alist-set): Use "function" instead of
15448 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
15450 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15451 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15452 debbugs.gnu.org. Mention acknowledgment email.
15454 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15456 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15457 buffer multibyteness, since it shouldn't matter.
15459 2011-06-28 Martin Rudalics <rudalics@gmx.at>
15461 * window.el (display-buffer-in-side-window): Handle dedicated
15462 windows as in display-buffer-reuse-window.
15463 (display-buffer-normalize-alist): Use value of override
15465 (display-buffer-normalize-specifiers): Use value of
15466 other-window-means-other-frame specifier.
15467 (display-buffer-alist): Rewrite some texts in widgets.
15468 (display-buffer): Spread arguments when calling function
15469 specified by fun-with-args.
15471 2011-06-28 Deniz Dogan <deniz@dogan.se>
15473 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15476 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15477 selectors (Bug#5732).
15478 (css-proprietary-nmstart-re): Use `regexp-opt'.
15480 2011-06-27 Jari Aalto <jari.aalto@cante.net>
15482 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15483 (eshell-ls-date-format): New defcustom.
15484 (eshell-ls-file): Use it.
15486 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15488 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15490 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15492 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15493 (ange-ftp-make-tmp-name): New arg.
15494 (ange-ftp-file-local-copy): Use it.
15496 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
15498 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15499 no-conversion (Bug#8870).
15501 2011-06-27 Martin Rudalics <rudalics@gmx.at>
15503 * window.el (window-right, window-left, window-child)
15504 (window-child-count, window-last-child)
15505 (window-iso-combination-p, walk-window-tree-1)
15506 (window-atom-check-1, window-tree-1, delete-window)
15507 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15508 new naming conventions - window-vchild, window-hchild,
15509 window-next and window-prev are now called window-top-child,
15510 window-left-child, window-next-sibling and window-prev-sibling
15512 (resize-window-reset): Rename to window-resize-reset.
15513 (resize-window-reset-1): Rename to window-resize-reset-1.
15514 (resize-window): Rename to window-resize.
15515 (window-min-height, window-min-width)
15516 (resize-mini-window, resize-this-window, resize-root-window)
15517 (resize-root-window-vertically, adjust-window-trailing-edge)
15518 (enlarge-window, shrink-window, maximize-window)
15519 (minimize-window, delete-window, quit-restore-window)
15520 (split-window, balance-windows, balance-windows-area-adjust)
15521 (balance-windows-area, window-state-put-2)
15522 (display-buffer-even-window-sizes, display-buffer-set-height)
15523 (display-buffer-set-width, set-window-text-height)
15524 (fit-window-to-buffer): Rename all "resize-window" prefixed
15525 calls to use the "window-resize" prefix convention.
15526 (display-buffer-alist): Fix symbol for label specifier.
15527 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15528 corresponding specifier.
15529 Reported by Juanma Barranquero <lekktu@gmail.com>.
15531 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15533 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15535 (ses-call-printer): Does not pass an empty string to formatter when the
15536 cell is empty to keep from barking printer Calc math-format-value.
15538 2011-06-27 Richard Stallman <rms@gnu.org>
15540 * battery.el (battery-mode-line-limit): New variable.
15541 (battery-update): Handle it.
15543 * mail/rmailmm.el (rmail-mime-process-multipart):
15544 Handle truncated messages.
15546 2011-06-27 Glenn Morris <rgm@gnu.org>
15548 * progmodes/flymake.el (flymake-err-line-patterns):
15549 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15551 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15553 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15554 (ses--clean-!, ses--clean-_): New functions.
15555 (ses-range): Add configurability of readout order, and conversion
15558 * ses.el (ses-repair-cell-reference-all): New function.
15559 (ses-cell-symbol): Set macro as safe, so that it can be used in
15562 * ses.el: Update cycle detection algorithm.
15563 (ses-localvars): Add ses--Dijkstra-attempt-nb and
15564 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15565 (ses-set-localvars): New function.
15566 (ses-make-cell): Add property-list as a cell element.
15567 (ses-cell-property-get-fun, ses-cell-property-get)
15568 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15569 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15571 (ses-cell-property-set, ses-cell-property-pop)
15572 (ses-cell-property-get-handle): New macro.
15573 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15574 New aliases, used for code readability.
15575 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15577 (ses-self-reference-early-detection): New defcustom.
15578 (ses-formula-references): Robustify against self-referring cells.
15579 (ses-mode): Use ses-set-localvars.
15580 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15581 before lauching the update processing.
15582 (ses-initialize-Dijkstra-attempt): New function.
15583 (ses-recalculate-cell): Update for cycle detection based on
15584 Dijkstra algorithm.
15586 * ses.el: Fix commenting and indenting convention.
15588 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15590 * bs.el (bs-cycle-next): Complete last change.
15592 2011-06-27 Drew Adams <drew.adams@oracle.com>
15594 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15596 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15598 * net/network-stream.el (network-stream-open-starttls):
15599 Don't re-get capabilities unless we've reestablished connection.
15600 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15602 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15603 to binary to possibly avoid line encoding issues on Windows (among
15606 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15608 * net/network-stream.el (open-network-stream): Return an :error
15609 saying what the problem was, if possible.
15611 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15614 * net/network-stream.el (network-stream-open-starttls): If we
15615 wanted to use STARTTLS, and the server offered it, but we weren't
15616 able to because we had no STARTTLS support, then close the connection.
15617 (open-network-stream): Return an :error element, if present.
15619 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15621 * hl-line.el (hl-line-sticky-flag): Doc fix.
15622 (global-hl-line-sticky-flag): New option (Bug#8323).
15623 (global-hl-line-highlight): Obey it.
15625 * vc/vc.el (vc-revert-show-diff): Default to t.
15627 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15629 * allout-widgets.el (allout-widgets-post-command-business):
15630 Stop decorating intermediate isearch matches. They're not being
15631 undecorated when an isearch is continued past, and isearch
15632 automatically collapses them. This leads to "widget leaks", where
15633 decorated items accumulate in collapsed areas. Lines with lots of
15634 hidden widgets can slow down cursor travel, substantially.
15635 Too much complicated machinery would be needed to ensure undecoration,
15636 so we're doing without this nicety.
15638 (allout-widgets-tally-string): Don't try to do a hash-table-count
15639 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15640 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15641 *Messages* when allout-widgets-maintain-tally is t.
15643 2011-06-26 Martin Rudalics <rudalics@gmx.at>
15645 * window.el (display-buffer-normalize-argument): Rename to
15646 display-buffer-normalize-arguments. Handle special meaning of
15647 LABEL argument. Respect special-display-function when popping up
15648 a new frame. Fix code searching for a window showing the buffer
15650 (display-buffer-normalize-specifiers):
15651 Call display-buffer-normalize-arguments.
15652 (display-buffer-in-window): Don't undedicate the window if its
15653 buffer remains the same.
15654 Reported by Drew Adams <drew.adams@oracle.com>.
15655 (display-buffer-alist): Add choice for same-window macro
15657 (display-buffer): Mention special meaning of LABEL argument in
15658 doc-string. Fix quoting. Don't pop up a new frame even as
15661 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
15663 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15664 avoid deleting the current window in some cases (bug#8911).
15666 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15668 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15671 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15673 * net/network-stream.el (network-stream-open-starttls):
15674 Use built-in TLS support if `gnutls-available-p' is true.
15675 (network-stream-open-tls): Ditto.
15677 2011-06-26 Leo Liu <sdl.web@gmail.com>
15679 * register.el (registerv): New struct.
15680 (registerv-make): New function.
15681 (jump-to-register, describe-register-1, insert-register):
15682 Support the jump-func, print-func and insert-func slot of a registerv
15685 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15687 * vc/vc.el (vc-revert-show-diff): New defcustom.
15688 (vc-diff-internal): New arg specifying diff buffer.
15689 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15690 reuse an existing *vc-diff* buffer (Bug#8927).
15692 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15694 2011-06-26 Glenn Morris <rgm@gnu.org>
15696 * progmodes/f90.el (f90-critical-indent): New option.
15697 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15698 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15699 (f90-mode): Doc fix.
15700 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15701 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15702 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15703 (f90-match-end): Handle block, critical.
15705 2011-06-25 Glenn Morris <rgm@gnu.org>
15707 * calendar/diary-lib.el (diary-included-files): Doc fix.
15708 (diary-include-files): New function, extracted from
15709 diary-include-other-diary-files and diary-mark-included-diary-files.
15710 (diary-include-other-diary-files, diary-mark-included-diary-files):
15711 Just call diary-include-files.
15712 (diary-mark-entries): Reset diary-included-files on first call.
15714 * calendar/diary-lib.el (diary-mark-entries)
15715 (diary-mark-included-diary-files):
15716 Visit included diary-files in temp buffers.
15718 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15719 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15720 (f90-start-block-re, f90-imenu-generic-expression)
15721 (f90-looking-at-program-block-start, f90-no-block-limit):
15722 Add support for submodules.
15724 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15725 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
15727 2011-06-25 Eli Zaretskii <eliz@gnu.org>
15729 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15730 buffer-file-type before setting its value, to avoid disastrous
15731 global effects on decoding files for DOS/Windows systems. (Bug#8780)
15733 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15735 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15737 * ses.el (ses-unload-function):
15738 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15740 * proced.el (proced-unload-function):
15741 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15743 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15745 * server.el (server-create-window-system-frame): Add parameters arg.
15746 (server-process-filter): Doc fix. Handle frame-parameters.
15748 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15750 Fix bug#8730, bug#8781.
15752 * loadhist.el (unload--set-major-mode): New function.
15753 (unload-feature): Use it.
15755 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15756 (python-unload-function): New function.
15758 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15760 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15762 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15764 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15765 the candidates list.
15767 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
15769 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15771 2011-06-23 Richard Stallman <rms@gnu.org>
15773 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15774 (rmail-variables): Set next-error-move-function.
15775 (rmail-what-message): Take argument POS.
15776 (rmail-next-error-move): New function.
15778 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15780 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15781 messages for adjacent non-terminals.
15783 2011-06-23 Richard Stallman <rms@gnu.org>
15785 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15786 (rmail-show-message-1): Preserve buffer modified flag.
15787 (rmail-start-mail): Don't specify use of rmail-mail-return;
15788 that's done by mail-bury now.
15789 (rmail-mail-return): Handle arg NEWBUF.
15791 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
15793 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15796 2011-06-23 Martin Rudalics <rudalics@gmx.at>
15798 * window.el (get-lru-window, get-mru-window)
15799 (get-largest-window): Never return a minibuffer window.
15800 (display-buffer-pop-up-window): Fix a bug that could lead to
15801 reusing the minibuffer window.
15802 (display-buffer): Pass original specifier argument to
15803 display-buffer-function instead of the normalized one.
15804 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15806 2011-06-22 Leo Liu <sdl.web@gmail.com>
15808 * minibuffer.el (completing-read-function)
15809 (completing-read-default): Move from minibuf.c
15811 2011-06-22 Richard Stallman <rms@gnu.org>
15813 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15814 to Rmail even if not started by a special Rmail command.
15816 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15817 Copy the buffer currently showing just one message.
15819 2011-06-22 Roland Winkler <winkler@gnu.org>
15821 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15822 (bibtex-clean-entry): First delete the old key so that a
15823 customized algorithm for generating the new key does not get
15824 confused by the old key.
15825 (bibtex-url): Obey regexp of first step.
15826 (bibtex-search-entries): Do not use add-to-list with local
15829 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15831 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15832 stored a user name, then query for the password first, instead of
15833 waiting for SMTP to give an error message and the trying again.
15835 2011-06-22 Lawrence Mitchell <wence@gmx.li>
15837 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15838 BUFFER in call-process.
15840 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15842 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15844 (smtpmail-try-auth-methods): Require user name and password from
15847 2011-06-22 Martin Rudalics <rudalics@gmx.at>
15849 * window.el (display-buffer-default-specifiers)
15850 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15851 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15852 (split-window): Normalize SIDE argument (Bug#8916).
15854 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15855 (special-display-frame-alist, special-display-popup-frame):
15856 Remove duplicate declarations. These are now in window.el.
15858 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15860 * mail/smtpmail.el (smtpmail-via-smtp):
15861 Set :use-starttls-if-possible so that we always use STARTTLS if the
15862 server supports it. SMTP servers that support STARTTLS commonly
15865 * net/network-stream.el (network-stream-open-starttls): Support
15866 upgrading to STARTTLS always, even if we don't have built-in support.
15867 (open-network-stream): Add the :always-query-capabilities keyword.
15869 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15870 upgrades with `open-network-stream', and rely solely on
15871 auth-source for all credentials. Big changes throughout the file,
15873 (smtpmail-auth-credentials): Remove.
15874 (smtpmail-starttls-credentials): Remove.
15875 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15878 * net/network-stream.el (network-stream-open-starttls):
15879 Provide support for client certificates both for external and built-in
15881 (auth-source): Require.
15882 (open-network-stream): Document the :client-certificate keyword.
15883 (network-stream-certificate): Change cert-cert to cert and
15886 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
15888 * net/tramp-cache.el (top): Don't load the persistency file when
15889 "emacs -Q" has been called.
15891 2011-06-21 Tim Harper <timcharper@gmail.com>
15893 * term/ns-win.el (ns-initialize-window-system):
15894 Set application-specific `ApplePressAndHoldEnabled' system
15895 resource to NO as it is not yet supported by the NS port.
15897 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
15899 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15900 (list-dynamic-libraries): ...not here.
15902 2011-06-21 Leo Liu <sdl.web@gmail.com>
15904 * subr.el (sha1): Implement sha1 using secure-hash.
15906 2011-06-21 Martin Rudalics <rudalics@gmx.at>
15908 * window.el (display-buffer-alist): In default value do not
15909 enforce searching a window on any but the selected frame.
15910 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15911 (display-buffer-select-window): Remove function.
15912 (display-buffer-in-window): When a window on another frame gets
15913 reused, do not select it any more but just raise its frame if
15914 necessary (Bug#8851) and (Bug#8856).
15915 (display-buffer-normalize-options): Handle pop-up-frames related
15916 options more faithfully.
15917 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15918 window if it is on another frame.
15919 (display-buffer-alist, display-buffer-default-specifiers):
15920 Don't make new frame unsplittable by default.
15921 (display-buffer-normalize-argument): Fix doc-string typo and use
15922 'same-frame-other-window instead of 'other-window when associating
15923 with display-buffer-macro-specifiers.
15925 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15927 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15929 (5x5-mode-map, 5x5-mode-menu): Bind them.
15930 (5x5-draw-grid): Tweak the solver's rendering.
15932 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15934 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15935 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15937 2011-06-21 Drew Adams <drew.adams@oracle.com>
15939 * menu-bar.el: Use function variable instead of switch-to-buffer.
15940 (menu-bar-select-buffer-function): New variable.
15941 (menu-bar-update-buffers): Use it (bug#8876).
15943 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15945 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15948 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15950 * x-dnd.el (x-dnd-version-from-flags)
15951 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15952 and long as number (Bug#8899).
15953 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15955 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15957 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
15958 (completion-try-completion, completion-all-completions): Compute the
15959 metadata argument if it's missing; make it optional (bug#8795).
15961 * wid-edit.el: Use lex-bind and move towards completion-at-point.
15962 (widget-complete): Use new :completion-function property.
15963 (widget-completions-at-point): New function.
15964 (default): Use :completion-function instead of :complete.
15965 (widget-default-completions): Rename from widget-default-complete;
15967 (widget-string-complete, widget-file-complete, widget-color-complete):
15969 (file, symbol, function, variable, coding-system, color):
15970 * international/mule-cmds.el (default-input-method, charset)
15971 (language-info-custom-alist):
15972 * cus-edit.el (face): Use new property :completions.
15974 * progmodes/pascal.el (pascal-completions-at-point): New function.
15975 (pascal-mode): Use it.
15976 (pascal-mode-map): Use completion-at-point.
15977 (pascal-toggle-completions): Make obsolete.
15978 (pascal-complete-word, pascal-show-completions):
15979 * progmodes/octave-mod.el (octave-complete-symbol):
15980 Redefine as obsolete alias.
15981 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15982 Signal absence of completion info for old Octave,
15983 (inferior-octave-complete): Redefine as obsolete alias.
15984 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15985 (meta-completions-at-point): Rename from meta-complete-symbol and
15986 adapt it for use on completion-at-point-functions.
15987 (meta-common-mode): Use it.
15988 (meta-looking-at-backward, meta-match-buffer): Remove.
15989 (meta-complete-symbol): Redefine as obsolete alias.
15990 (meta-common-mode-map): Use completion-at-point.
15991 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15992 (makefile-mode-map): Use completion-at-point.
15993 (makefile-completions-at-point): Rename from makefile-complete and
15994 adapt it for use on completion-at-point-functions.
15995 (makefile-mode): Use it.
15996 (makefile-complete): Redefine as obsolete alias.
15998 2011-06-20 Deniz Dogan <deniz@dogan.se>
16000 * net/rcirc.el: Delete trailing whitespaces once and for all.
16002 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16004 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16006 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16008 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16010 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16012 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16014 * window.el (display-buffer-other-window-means-other-frame):
16015 Call display-buffer-normalize-alist.
16016 (display-buffer-normalize-specifiers-1): Rename to
16017 display-buffer-normalize-argument. New argument other-frame.
16019 (display-buffer-normalize-specifiers-2): Rename to
16020 display-buffer-normalize-options.
16021 (display-buffer-normalize-alist-1): New function.
16022 (display-buffer-normalize-specifiers-3): Rename to
16023 display-buffer-normalize-alist.
16024 Call display-buffer-normalize-alist-1.
16025 (display-buffer-normalize-options-inhibit): New variable.
16026 (display-buffer-normalize-specifiers): Rewrite calling
16027 display-buffer-normalize-alist,
16028 display-buffer-normalize-argument, and
16029 display-buffer-normalize-options. Don't call the latter if
16030 display-buffer-normalize-options-inhibit is non-nil.
16031 (frame-auto-delete): New option.
16032 (window-deletable-p): Use frame-auto-delete.
16033 (window-list-no-nils, window-state-ignored-parameters)
16034 (window-state-get-1, window-state-get, window-state-put-list)
16035 (window-state-put-1, window-state-put-2, window-state-put):
16037 (display-buffer-normalize-options): Move special-display-p group
16038 after pop-up-frame group (Bug#8851) and (Bug#8856).
16040 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16042 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16044 (rx-submatch-n): New function.
16047 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16050 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16052 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16054 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16055 anytime existing face settings are present (Bug#8889).
16057 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16058 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16059 Remove unused argument.
16061 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16063 * window.el (display-buffer-default-specifiers):
16064 Remove pop-up-frame. Add pop-up-window-min-height,
16065 pop-up-window-min-width, and another reuse-window specifier
16066 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16067 (display-buffer-normalize-specifiers-2):
16068 Handle split-height-threshold and split-width-threshold also when
16069 pop-up-windows is unset. Add a reuse-window specifier for the
16070 case popping up a new window fails.
16071 (special-display-popup-frame): Remove double quoting.
16072 (display-buffer-normalize-specifiers-1): Fix thinko.
16074 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16076 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16077 according to comint-completion-addsuffix.
16079 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16080 (pcomplete-suffix-list): Mark as obsolete.
16081 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16082 pcomplete-seen in the closure.
16083 (pcomplete-comint-setup): Setup completion-at-point as well.
16084 (pcomplete--entries): New function.
16085 (pcomplete--env-regexp): New var.
16086 (pcomplete-entries): Rewrite to work with partial-completion and
16087 without relying on pcomplete-suffix-list.
16088 (pcomplete-pare-list): Remove, unused.
16090 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16092 * window.el (display-buffer-alist): Set pop-up-window-min-height
16093 and pop-up-window-min-width in default value. Reported by
16094 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16095 other-window-means-other-frame.
16096 (display-buffer-macro-specifiers): Comment out entry for
16097 other-window specifier.
16098 (display-buffer-other-window-means-other-frame): New function.
16099 (display-buffer-normalize-specifiers-1): New arguments
16100 buffer-name and label. Treat other-window case specially.
16101 (display-buffer-normalize-specifiers-2): Treat other-window case
16103 (display-buffer-normalize-specifiers-3): New function.
16104 (display-buffer-normalize-specifiers):
16105 Call display-buffer-normalize-specifiers-3.
16107 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16109 * window.el (same-window-p): Fix two typos introduced when
16110 adding with-no-warnings.
16111 (display-buffer-normalize-specifiers-1): Don't check
16112 pop-up-frames for 'unset initialization.
16113 (display-buffer-normalize-specifiers-2): Major rewrite using
16114 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16115 (pop-up-frames, display-buffer-reuse-frames)
16116 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16117 Suggested by David Engster <deng@randomsample.de>.
16118 (even-window-heights): Initialize to 'unset.
16119 (display-buffer-alist-set): Handle new 'unset initializations.
16120 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16123 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16125 * window.el (display-buffer-normalize-specifiers-1):
16126 Respect current value of pop-up-frames for most reasonable values of
16127 second argument of display-buffer (Bug#8865).
16128 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16129 (switch-to-buffer-other-window-same-frame)
16130 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16132 (display-buffer): Don't check noninteractive when calling
16133 display-buffer-pop-up-frame.
16134 (display-buffer-pop-up-frame): Never pop up a frame in
16135 noninteractive mode (Bug#8857).
16136 (enlarge-window, shrink-window): Don't report an error when the
16137 window can't be resized as requested (Bug#8862).
16139 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16141 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16143 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16145 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16147 2011-06-15 Alan Mackenzie <acm@muc.de>
16149 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16150 for declarators, disable knr checking to speed up for normal files.
16151 2: Refactor, replacing a sequence of nested if forms by a cond form.
16153 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16155 * net/network-stream.el (open-network-stream): Add the keyword
16156 :always-query-capabilities for the case where you want to force a
16157 `plain' network connection, but the protocol still requires the
16158 capabilitiy command (i.e., SMTP and EHLO).
16160 * subr.el (process-live-p): Rename from `process-alive-p' for
16161 consistency with other `-live-p' functions.
16163 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16165 * window.el (same-window-buffer-names, same-window-regexps)
16166 (special-display-frame-alist, special-display-popup-frame)
16167 (special-display-function, special-display-buffer-names)
16168 (special-display-regexps, pop-up-frame-alist)
16169 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16170 (pop-up-windows, split-window-preferred-function)
16171 (split-height-threshold, split-width-threshold, even-window-heights)
16172 (display-buffer-mark-dedicated): Don't encourage the use of
16173 display-buffer-alist from Elisp code.
16175 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16177 * progmodes/python.el (python-mode): Derive from prog-mode.
16178 * progmodes/ps-mode.el (ps-mode):
16179 * progmodes/mixal-mode.el (mixal-mode):
16180 * progmodes/cfengine.el (cfengine-mode):
16181 * progmodes/ld-script.el (ld-script-mode): Likewise.
16183 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16185 * window.el (display-buffer-alist): Trim default value to avoid
16186 popping up a new frame (Bug#8857) or reusing an arbitrary window
16188 (display-buffer): Do not fall back on popping up a new frame in
16189 batch mode (Bug#8857).
16191 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16193 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16194 (custom-theme-summary): New function.
16195 (customize-themes): Use it.
16197 2011-06-13 Glenn Morris <rgm@gnu.org>
16199 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16201 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16203 * help.el (help-window): Remove variable.
16204 (help-window-point-marker, temp-buffer-max-height)
16205 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16206 (help-print-return-message): Don't set help-window.
16207 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16208 (help-window-setup-finish): Remove.
16209 (help-window-display-message, help-window-setup)
16210 (with-help-window): Major rewrite based on new
16211 display-buffer-window variable.
16213 * help-mode.el (help-mode-finish): Remove help-window related
16216 * view.el (view-exits-all-viewing-windows): Remove reference to
16217 view-return-to-alist in doc-string.
16218 (view-return-to-alist): Make obsolete.
16219 (view-buffer): Call pop-to-buffer-same-window and remove
16221 (view-buffer-other-window): Call pop-to-buffer-other-window and
16222 simplify code. Ignore second argument.
16223 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16224 simplify code. Ignore second argument.
16225 (view-return-to-alist-update): Make obsolete.
16226 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16227 Rewrite using quit-restore window parameters.
16228 (view-mode-exit): Rename second argument to EXIT-ONLY.
16229 Rewrite using quit-restore-window.
16230 (View-exit, View-exit-and-edit, View-leave, View-quit)
16231 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16232 appropriate arguments.
16233 (view-end-message): Use quit-restore window parameter.
16235 * window.el (display-buffer-function): Rewrite doc-string.
16236 (display-buffer-window, display-buffer-alist): New variables.
16237 (display-buffer-split-specifiers)
16238 (display-buffer-side-specifiers)
16239 (display-buffer-macro-specifiers): New constants.
16240 (display-buffer-even-window-sizes, display-buffer-set-height)
16241 (display-buffer-set-width, display-buffer-select-window)
16242 (display-buffer-in-window, display-buffer-reuse-window)
16243 (display-buffer-split-window-1, display-buffer-split-window)
16244 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16245 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16246 (display-buffer-in-side-window, normalize-buffer-to-display)
16247 (display-buffer-normalize-specifiers-1)
16248 (display-buffer-normalize-specifiers-2)
16249 (display-buffer-normalize-specifiers, display-buffer-frame):
16251 (display-buffer): Major rewrite.
16252 (display-buffer-other-window, display-buffer-other-frame)
16253 (pop-to-buffer, switch-to-buffer-other-window)
16254 (switch-to-buffer-other-frame): Rewrite.
16255 (display-buffer-same-window, display-buffer-same-frame)
16256 (display-buffer-same-frame-other-window)
16257 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16258 (pop-to-buffer-other-window)
16259 (pop-to-buffer-same-frame-other-window)
16260 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16261 (switch-to-buffer-other-window-same-frame): New functions.
16262 (same-window-p, special-display-p): Rewrite disabling warnings.
16264 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16265 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16267 (same-window-buffer-names, same-window-regexps)
16268 (special-display-frame-alist, special-display-popup-frame)
16269 (special-display-function, special-display-buffer-names)
16270 (special-display-regexps, pop-up-frame-alist)
16271 (pop-up-frame-function, split-window-preferred-function)
16272 (split-height-threshold, split-width-threshold)
16273 (even-window-heights): Make obsolete.
16275 2011-06-12 Glenn Morris <rgm@gnu.org>
16277 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
16278 Misc simplifications.
16280 2011-06-12 Martin Rudalics <rudalics@gmx.at>
16282 * window.el (window-safely-shrinkable-p): Restore function which
16283 was inadvertently removed in change from 2011-06-11. Declare as
16286 * calendar/calendar.el (calendar-generate-window):
16287 Use window-iso-combined-p instead of combination of one-window-p and
16288 window-safely-shrinkable-p.
16290 2011-06-12 Glenn Morris <rgm@gnu.org>
16292 * progmodes/fortran.el (fortran-mode-syntax-table):
16293 * progmodes/f90.el (f90-mode-syntax-table):
16294 Set % to punctuation. (Bug#8820)
16295 (f90-find-tag-default): Remove, no longer needed.
16297 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16299 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16301 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
16303 * image.el (image-animated-p): Return animation delay in seconds.
16304 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16305 (image-animate-timeout): Remove DELAY argument. Don't assume
16306 every subimage has the same delay; get it from image-animated-p.
16307 (image-animate): Caller changed.
16309 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
16311 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16312 to ignored backtrace functions.
16314 2011-06-11 Glenn Morris <rgm@gnu.org>
16316 * calendar/appt.el (appt-disp-window-function): Doc fix.
16317 (appt-check): Handle overlapping appointments. (Bug#8337)
16319 2011-06-11 Martin Rudalics <rudalics@gmx.at>
16321 * window.el (window-tree-1, window-tree): New functions, moving
16322 the latter to window.el.
16323 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16324 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16325 (bw-refresh-edges): Remove.
16326 (balance-windows-1, balance-windows-2): New functions.
16327 (balance-windows): Rewrite in terms of window tree functions,
16328 balance-windows-1 and balance-windows-2.
16329 (bw-adjust-window): Remove.
16330 (balance-windows-area-adjust): New function with functionality of
16331 bw-adjust-window but using resize-window.
16332 (set-window-text-height): Rewrite doc-string.
16333 Use normalize-live-window and resize-window.
16334 (enlarge-window-horizontally, shrink-window-horizontally):
16335 Rename argument to DELTA.
16336 (window-buffer-height): New function.
16337 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16338 Rewrite using new window resize routines.
16339 (kill-buffer-and-window, mouse-autoselect-window-select):
16340 Use ignore-errors instead of condition-case.
16341 (quit-window): Call delete-frame instead of delete-windows-on
16342 for the only buffer on frame.
16344 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16346 * loadup.el (top-level): Load window before files for the sake
16347 of replace-buffer-in-windows.
16349 * files.el (read-buffer-to-switch)
16350 (switch-to-buffer-other-window)
16351 (switch-to-buffer-other-frame, display-buffer-other-frame):
16354 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16355 (previous-buffer): Move to window.el.
16357 * bindings.el (unbury-buffer): Move to window.el.
16359 * window.el (delete-other-windows-vertically): Move after
16360 definition of delete-other-windows.
16361 (other-window, delete-windows-on, replace-buffer-in-windows):
16362 Move here from window.c.
16363 (record-window-buffer, unrecord-window-buffer)
16364 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16365 (switch-to-next-buffer): New functions.
16366 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16367 from simple.el. Call switch-to-next-buffer.
16368 (previous-buffer): Move here from simple.el.
16369 Call switch-to-prev-buffer.
16370 (bury-buffer): Move here from buffer.c. Switch to previous
16371 buffer when window cannot be deleted.
16372 (unbury-buffer): Move here from bindings.el.
16373 (ctl-x-map): Move binding for other-window from window.c to
16375 (read-buffer-to-switch, switch-to-buffer-other-window)
16376 (switch-to-buffer-other-frame): Move here from files.el.
16377 (normalize-buffer-to-switch-to): New functions.
16378 (switch-to-buffer): Move here from buffer.c.
16379 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16381 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16383 * window.el (window-min-height, window-min-width): Move here
16384 from window.c. Add defcustoms and rewrite doc-strings.
16385 (resize-mini-window, resize-window): New functions.
16386 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16387 Move here from window.c.
16388 (maximize-window, minimize-window): New functions.
16389 (delete-window, delete-other-windows, split-window): Move here
16391 (window-split-min-size): New function.
16392 (split-window-keep-point): Mention split-window-above-each-other
16393 instead of split-window-vertically.
16394 (split-window-above-each-other, split-window-vertically):
16395 Rename split-window-vertically to split-window-above-each-other
16396 and provide defalias for old definition.
16397 (split-window-side-by-side, split-window-horizontally):
16398 Rename split-window-horizontally to split-window-side-by-side
16399 and provide defalias for the old definition.
16400 (ctl-x-map): Move bindings for delete-window,
16401 delete-other-windows and enlarge-window here from window.c.
16402 Replace bindings for split-window-vertically and
16403 split-window-horizontally by bindings for
16404 split-window-above-each-other and split-window-side-by-side.
16406 * cus-start.el (all): Remove entries for window-min-height and
16407 window-min-width. Add entries for window-splits and
16410 2011-06-09 Glenn Morris <rgm@gnu.org>
16412 * calendar/appt.el (appt-mode-line): New function.
16413 (appt-check, appt-disp-window): Use it.
16415 * files.el (hack-one-local-variable-eval-safep):
16416 Allow minor-modes with explicit +/-1 arguments.
16418 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16420 * term/xterm.el (xterm): Add defgroup.
16421 (xterm-extra-capabilities): Add defcustom to supply known xterm
16422 capabilities, skip querying them, or query them (default).
16423 (terminal-init-xterm): Use it.
16424 (terminal-init-xterm-modify-other-keys): New function to set up
16425 modifyOtherKeys support to simplify `terminal-init-xterm'.
16427 2011-06-09 Martin Rudalics <rudalics@gmx.at>
16429 * window.el (resize-window-reset, resize-window-reset-1)
16430 (resize-subwindows-skip-p, resize-subwindows-normal)
16431 (resize-subwindows, resize-other-windows, resize-this-window)
16432 (resize-root-window, resize-root-window-vertically)
16433 (window-deletable-p, window-or-subwindow-p)
16434 (frame-root-window-p): New functions.
16436 2011-06-09 Glenn Morris <rgm@gnu.org>
16438 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16439 (ange-ftp-get-files): Use it.
16441 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16443 * mail/sendmail.el (mail-recover-1, mail-recover):
16444 * files.el (recover-file, recover-session):
16445 Handle dired-listing-switches not being just a single short option.
16447 2011-06-09 Glenn Morris <rgm@gnu.org>
16449 * calendar/appt.el (appt-display-message, appt-disp-window):
16450 Handle lists of appointments.
16452 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16454 * window.el (one-window-p): Move down in code.
16455 Rewrite doc-string.
16456 (window-current-scroll-bars): Rewrite doc-string.
16457 Normalize live window argument.
16458 (walk-windows, get-window-with-predicate, count-windows):
16459 Rewrite doc-string. Use window-list-1.
16460 (window-in-direction-2, window-in-direction, get-mru-window):
16463 2011-06-08 Reuben Thomas <rrt@sc3d.org>
16465 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16466 Doc fix (Bug#8713).
16468 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
16470 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16472 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
16474 * loadhist.el (unload-feature-special-hooks):
16475 Add `comint-output-filter-functions'.
16477 2011-06-08 Ivan Kanis <gnu@kanis.fr>
16479 * calendar/appt.el (appt-check): Move some initializations into the let.
16481 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16483 * window.el (window-height): Defalias to window-total-height.
16484 (window-width): Defalias to window-body-width.
16486 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
16488 * image-mode.el (image-toggle-animation): New command.
16489 (image-mode-map): Bind it to RET.
16490 (image-mode): Update message.
16491 (image-toggle-display-image): Avoid a spurious cache flush.
16492 (image-transform-rotation): Doc fix.
16493 (image-transform-properties): Return quickly in the normal case.
16494 (image-animate-loop): Rename from image-animate-max-time.
16496 * image.el (image-animate-max-time): Move to image-mode.el.
16497 (create-animated-image): Remove unnecessary function.
16498 (image-animate): Rename from image-animate-start. New arg.
16499 (image-animate-stop): Remove; just use image-animate-timer.
16500 (image-animate-timer): Use car-safe.
16501 (image-animate-timeout): Rename argument.
16503 2011-06-07 Martin Rudalics <rudalics@gmx.at>
16505 * window.el (get-lru-window, get-largest-window): Move here from
16506 window.c. Rename first argument to ALL-FRAMES.
16507 Rephrase doc-strings.
16508 (get-buffer-window-list): Rewrite using window-list-1.
16509 Rephrase doc-string.
16510 (window-safe-min-height, window-safe-min-width): New constants.
16511 (window-size-ignore, window-min-size, window-min-size-1)
16512 (window-sizable, window-sizable-p, window-size-fixed-1)
16513 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16514 (window-max-delta-1, window-max-delta, window-resizable)
16515 (window-resizable-p, window-total-height, window-total-width)
16516 (window-body-width): New functions.
16517 (window-full-height-p, window-full-width-p): Rewrite using
16519 (window-body-height): Rewrite using window-body-size.
16521 2011-06-06 Martin Rudalics <rudalics@gmx.at>
16523 * window.el (window-right, window-left, window-child)
16524 (window-child-count, window-last-child, window-any-p)
16525 (normalize-live-buffer, normalize-live-frame)
16526 (normalize-any-window, normalize-live-window)
16527 (window-iso-combination-p, window-iso-combined-p)
16528 (window-iso-combinations)
16529 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16530 (windows-with-parameter, window-with-parameter)
16531 (window-atom-root, make-window-atom, window-atom-check-1)
16532 (window-atom-check, window-side-check, window-check):
16534 (ignore-window-parameters, window-sides, window-sides-vertical)
16535 (window-sides-slots): New variables.
16536 (window-size-fixed): Move down in code. Minor doc-string fix.
16538 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16540 * comint.el (comint-dynamic-complete-as-filename)
16541 (comint-dynamic-complete-filename): Correctly call
16542 completion-in-region.
16544 2011-06-05 Deniz Dogan <deniz@dogan.se>
16546 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16549 2011-06-05 Deniz Dogan <deniz@dogan.se>
16551 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16552 (rcirc): Use it to prompt for encryption.
16554 2011-06-05 Roland Winkler <winkler@gnu.org>
16556 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16557 (bibtex-search-entries): New command bound to C-c C-a.
16558 (bibtex-display-entries): New function.
16560 2011-06-05 Roland Winkler <winkler@gnu.org>
16562 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16563 (bibtex-insert-kill): After yanking insert newline if necessary.
16564 (bibtex-initialize): Call bibtex-string-files-init only once.
16565 (bibtex-mode): Do not call easy-menu-add.
16566 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16567 (bibtex-yank): Set arg properly if nil.
16569 2011-06-05 Roland Winkler <winkler@gnu.org>
16571 * textmodes/bibtex.el (bibtex-search-entry-globally):
16573 (bibtex-search-entry): Use it.
16575 2011-06-05 Roland Winkler <winkler@gnu.org>
16577 * textmodes/bibtex.el (bibtex-entry-format): New option
16579 (bibtex-format-entry, bibtex-reformat): Honor this option.
16580 (bibtex-parse-entry): Return fields in proper order.
16582 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
16584 * doc-view.el (doc-view-remove-if): Move computation of result out
16585 of `dolist' to silence misleading lexical-binding warning.
16587 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
16589 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16590 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16592 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16594 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16597 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16599 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16600 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16601 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16602 (tramp-parse-putty):
16603 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16604 (tramp-completion-function-alist-ssh)
16605 (tramp-completion-function-alist-telnet)
16606 (tramp-completion-function-alist-su)
16607 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16610 * net/tramp-ftp.el:
16612 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16613 load "tramp.el" `tramp-set-completion-function'.
16615 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16617 * shell.el: Require and use pcomplete.
16618 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16619 (shell-completion-vars): Set pcomplete-default-completion-function.
16621 2011-06-04 Deniz Dogan <deniz@dogan.se>
16623 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16626 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16628 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16630 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
16632 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16633 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16634 * vc/log-view.el (log-view-beginning-of-defun):
16635 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16636 (smerge-refine-forward, smerge-refine-chopup-region):
16637 Silence warning for unused `dotimes' counter variables.
16639 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16641 * net/tramp.el (tramp-with-progress-reporter): Rename from
16642 with-progress-reporter. Use `declare'.
16643 * net/tramp-smb.el:
16645 * net/tramp-gvfs.el: Update all uses.
16647 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16649 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16650 buffer isn't killed before making it current.
16652 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16654 Silence various byte-compiler warnings.
16655 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16656 `access-type' and new obsolescence format.
16657 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16659 (byte-compile-check-variable): New `access-type' argument.
16660 Only warn if the access-type is obsolete.
16661 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16662 (byte-compile-variable-set): Adjust callers.
16663 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16664 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16665 setting it as obsolete.
16666 * simple.el (minibuffer-completing-symbol):
16667 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16668 access as obsolete.
16669 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16671 * international/quail.el (quail-mouse-choose-completion): Remove unused
16672 code referring to obsolete var.
16673 (quail-choose-completion-string): Remove.
16674 * server.el (server-clients-with, server-kill-buffer-query-function)
16675 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16676 * proced.el (proced-send-signal):
16677 * emacs-lisp/lisp.el (lisp-complete-symbol):
16678 Replace completion-annotate-function with completion-extra-properties.
16680 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16682 * simple.el (goto-line): Use read-number.
16683 (overriding-map-is-bound): Remove.
16684 (saved-overriding-map): Change default.
16685 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16686 Take the map as argument.
16687 (universal-argument, negative-argument, digit-argument): Use it.
16688 (restore-overriding-map): Adjust.
16689 (do-auto-fill): Use fill-forward-paragraph.
16690 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16692 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16693 (minibuffer-inactive-mode): New major mode.
16694 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16695 the *Messages* buffer" hack.
16696 (mouse-popup-menubar): Don't burp if the event is a normal key.
16698 Miscellaneous tweaks.
16699 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16700 lexical scoping as in subr.el's dolist and dotimes.
16701 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16702 Silence compiler warning.
16703 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16704 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16705 * international/ccl.el (ccl-compile): Trivial simplification.
16706 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16707 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16708 `printflag' argument.
16709 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16710 Purecopy the whole obsolescence data.
16712 2011-06-01 Leo Liu <sdl.web@gmail.com>
16714 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16715 improve doc-string as suggested by Marco Pessotto
16716 <melmothx@gmail.com>.
16717 (rcirc-print): Fix last change.
16719 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16721 * minibuffer.el (complete-with-action): Return nil for the metadata and
16722 boundaries of non-functional tables.
16723 (completion-table-dynamic): Return nil for the metadata.
16724 (completion-table-with-terminator): Add default case, using
16725 complete-with-action.
16726 (completion--metadata): New function.
16727 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16728 to try and avoid pathological performance problems.
16729 (completion--embedded-envvar-table): Return `category' metadata.
16731 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16733 * subr.el (process-alive-p): New tiny convenience function.
16735 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16737 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16738 content but also its previous major mode.
16740 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
16742 * emacs-lisp/debug.el (debug): Restore the previous content of the
16743 *Backtrace* buffer when we exit with C-M-c.
16745 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16747 * minibuffer.el: Add metadata method to completion tables.
16748 (completion-category-overrides): New defcustom.
16749 (completion-metadata, completion--field-metadata)
16750 (completion-metadata-get, completion--styles)
16751 (completion--cycle-threshold): New functions.
16752 (completion-try-completion, completion-all-completions):
16753 Add `metadata' argument to choose completion-styles.
16754 (completion--do-completion): Use metadata to choose cycling.
16755 (completion-all-sorted-completions): Use metadata for sorting.
16756 Remove :completion-cycle-penalty which is not needed any more.
16757 (completion--try-word-completion): Add `metadata' argument.
16758 (minibuffer-completion-help): Check metadata for annotation function
16760 (completion-file-name-table): Return `category' metadata.
16761 (minibuffer-completing-file-name): Make obsolete.
16762 * simple.el (minibuffer-completing-symbol): Make obsolete.
16763 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16764 completion-try-completion.
16766 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16768 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16770 2011-05-30 Leo Liu <sdl.web@gmail.com>
16772 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16773 (rcirc-print): Decode all incoming messages (bug#8744).
16774 (rcirc-decode-coding-system): Allow value nil for automatic coding
16777 2011-06-01 Glenn Morris <rgm@gnu.org>
16779 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16781 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16783 * image.el (image-animate-max-time): Allow nil and t values.
16785 (create-animated-image): Doc fix.
16786 (image-animate-start): Remove second arg; just use
16787 image-animate-max-time.
16788 (image-animate-timeout): Doc fix. Args changed.
16790 * image-mode.el (image-toggle-display-image): Ensure that the
16791 image spec passed to the animate timer is the same object as in
16792 the buffer's display property (Bug#6981).
16793 (image-transform-properties): Doc fix.
16795 * image.el (image-animate-max-time): Default to nil.
16797 2011-05-29 Martin Rudalics <rudalics@gmx.at>
16799 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16800 entire buffer list (Bug#8184).
16802 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16804 * image.el (imagemagick-types-inhibit)
16805 (imagemagick-register-types): Doc fix.
16807 2011-05-29 Deniz Dogan <deniz@dogan.se>
16809 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16812 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16814 * select.el: Don't perform clipboard-manager saving in hooks;
16815 leave the hooks empty.
16817 2011-05-28 Leo Liu <sdl.web@gmail.com>
16819 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16820 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16821 (occur-edit-mode): New major mode (Bug#8463).
16822 (occur-after-change-function): New function.
16823 (occur-engine): Give Occur tags a read-only property.
16825 2011-05-28 Kevin Ryde <user42@zip.com.au>
16827 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16829 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16831 * bindings.el (help-echo): Make the initial non-indicator dash
16832 empty on graphical terminals (Bug#7295).
16834 * files.el (auto-mode-alist): Move config rule after the
16835 in-stripping one (Bug#8547).
16837 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16839 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16840 setting (Bug#8740).
16842 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16844 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16845 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16848 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16850 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16852 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16854 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16855 (hs-hide-block-at-point, hs-find-block-beginning)
16856 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16859 2011-05-28 Glenn Morris <rgm@gnu.org>
16861 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16863 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16865 * help-fns.el (describe-function-1): If the function is a derived
16866 major mode, print the parent mode.
16868 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16869 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16871 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16873 * minibuffer.el (completion--capf-wrapper): Check applicability before
16874 returning non-nil for non-exclusive completion data.
16875 * progmodes/etags.el (tags-completion-at-point-function):
16876 * info-look.el (info-lookup-completions-at-point): Mark as
16878 (info-complete): Adjust accordingly.
16880 * info-look.el: Convert to lexical-binding and completion-at-point.
16881 (info-lookup-completions-at-point): New function.
16882 (info-complete): Use it and completion-in-region.
16884 2011-05-28 Drew Adams <drew.adams@oracle.com>
16886 * isearch.el: Let M-e start with point at the first mismatched char.
16887 (isearch-fail-pos): New function.
16888 (isearch-edit-string): Use it.
16890 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16892 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16894 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
16896 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16897 traversal functions for avl-trees.
16898 (avl-tree--stack): New struct.
16899 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16900 (avl-tree-enter): Add optional `updatefun' arg.
16901 (avl-tree--do-enter): Add optional `updatefun' arg.
16902 Change return value.
16903 (avl-tree-delete): Add optional `test' and `nilflag' args.
16904 (avl-tree--do-delete): Add `test' and `nilflag' args.
16905 Change return value.
16906 (avl-tree-member): Add optional `nilflag'
16907 (avl-tree-member-p): New function.
16908 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16909 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16910 (avl-tree-stack-empty-p): New functions.
16912 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16913 avl-tree--del-balance1 and make it work both ways.
16914 (avl-tree--del-balance2): Remove.
16915 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16916 make it work both ways.
16917 (avl-tree--enter-balance2): Remove.
16918 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16920 (avl-tree--mapc, avl-tree-map): Add direction argument.
16922 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
16924 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16926 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
16928 * select.el: Support clipboard managers with built-in function
16929 x-clipboard-manager-save, via delete-frame-functions and
16931 (xselect-convert-to-targets): Add MULTIPLE target to list.
16932 (xselect-convert-to-save-targets): New function.
16934 2011-05-27 Kenichi Handa <handa@m17n.org>
16936 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16937 let-binding rfc2047-encode-encoded-words to nil.
16939 2011-05-27 Glenn Morris <rgm@gnu.org>
16941 * mail/emacsbug.el: Don't require url-util.
16943 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16945 * files.el (set-auto-mode):
16946 Also respect mode: entries at the end of the file. (Bug#8586)
16948 2011-05-26 Glenn Morris <rgm@gnu.org>
16950 * files.el (hack-local-variables-prop-line, hack-local-variables):
16951 Downcase mode names, as seems to be traditional.
16952 (hack-local-variables, hack-local-variables-apply): Doc fixes.
16954 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16955 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16957 2011-05-25 Julien Danjou <julien@danjou.info>
16959 * textmodes/rst.el (rst-define-level-faces): Do not define face
16960 symbol if it is already defined.
16962 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16964 * play/5x5.el (5x5-new-game, 5x5-randomize):
16965 Reset 5x5-solver-output to nil when a new grid is cast.
16966 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16967 these debugging traces, as defmacro breaks the compiled code.
16969 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16971 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16973 2011-05-24 Leo Liu <sdl.web@gmail.com>
16975 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16976 (vc-bzr-sha1): Adapt.
16978 * sha1.el: Remove. Function `sha1' is now builtin.
16980 * bindings.el: Provide sha1 feature.
16982 2011-05-24 Kenichi Handa <handa@m17n.org>
16984 * mail/sendmail.el: Require `rfc2047'.
16985 (mail-insert-from-field): Do not perform RFC2047 encoding.
16986 (mail-encode-header): New function.
16987 (sendmail-send-it): Set buffer-file-coding-system of the work
16988 buffer to the return value of select-message-coding-system.
16989 Call mail-encode-header.
16991 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16993 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
16995 * mail/supercite.el (sc-default-cite-frame):
16996 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
16998 2011-05-24 Glenn Morris <rgm@gnu.org>
17000 * progmodes/python.el (brm-menu): Declare.
17002 * emulation/viper.el (viper-set-hooks): Declare.
17004 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17005 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17006 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17007 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17008 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17009 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17011 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17013 Add an :exit-function for completion-at-point.
17015 * minibuffer.el (completion--done): New fun.
17016 (completion--do-completion): Use it. New arg `expect-exact'.
17017 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17018 since completion--do-completion does it for us now.
17019 (minibuffer-force-complete): Use completion--done and
17020 completion--replace. Handle sole-completion case with more care.
17021 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17022 (completion-extra-properties): New var.
17023 (completion-annotate-function): Make obsolete.
17024 (minibuffer-completion-help): Adjust accordingly.
17025 Use completion-list-insert-choice-function.
17026 (completion-at-point, completion-help-at-point):
17027 Bind completion-extra-properties.
17028 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17029 * simple.el (completion-list-insert-choice-function): New var.
17030 (completion-setup-function): Preserve it.
17031 (choose-completion): Pay attention to it, shuffle the code a bit.
17032 (choose-completion-string): New arg `insert-function'.
17034 * textmodes/bibtex.el: Convert to lexical binding.
17035 (bibtex-mode-map): Use completion-at-point.
17036 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17037 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17038 (bibtex-complete): Define as obsolete alias.
17039 (bibtex-complete-internal): Remove.
17040 (bibtex-format-entry): Remove unused sub-group in regexp.
17041 * shell.el (shell--command-completion-data)
17042 (shell-environment-variable-completion):
17043 * pcomplete.el (pcomplete-completions-at-point):
17044 * comint.el (comint--complete-file-name-data): Use :exit-function
17045 instead of completion-table-with-terminator so it also works for
17048 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17050 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17052 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17055 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17057 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17059 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17060 customization variable and implement: If non-nil, auto-fill will
17061 be inhibited while on topic's header line.
17063 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17065 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17066 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17067 always have a solution in grid size = 5 cases.
17068 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17069 (5x5-solver-output, 5x5-log-buffer): New vars.
17070 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17071 Make these variables buffer local to achieve 5x5 multi-session-ness.
17072 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17073 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17074 (5x5-solve-suggest): New funs.
17075 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17076 randomize a grid so that we ensure that there is always a solution.
17077 (5x5-make-random-grid): Allow other movement than flipping.
17079 2011-05-23 Kevin Ryde <user42@zip.com.au>
17081 * emacs-lisp/advice.el (ad-read-advised-function):
17082 Use `function-called-at-point' as the default, if it has
17083 advice and passes PREDICATE.
17085 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17087 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17088 byte-compile-lambda if it's actually a lambda.
17090 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17091 Fix function quoting. Use backquote better.
17093 2011-05-22 Yuanle Song <sylecn@gmail.com>
17095 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17096 matching (Bug#8516).
17098 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17100 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17101 different face (Bug#8178).
17103 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17105 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17106 defface (Bug#8144).
17108 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17110 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17111 funcall as well (bug#8712). Warn when performing those conversions.
17112 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17114 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17116 2011-05-22 Glenn Morris <rgm@gnu.org>
17118 * files.el (hack-local-variables-prop-line): Small simplifications.
17119 (hack-local-variables, hack-local-variables-prop-line):
17120 If MODE-ONLY, return the mode, rather than just `t'.
17122 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17124 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17126 2011-05-21 Glenn Morris <rgm@gnu.org>
17128 * files.el (hack-local-variables-prop-line, hack-local-variables):
17129 If only interested in the mode, don't bother doing the other stuff.
17131 * image-mode.el (image-after-revert-hook):
17132 Redraw all frames on which the image is visible. (Bug#8567)
17134 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17136 * wid-edit.el (widget-checklist-match-inline):
17137 Fix 2011-04-19 change. (Bug#8649)
17139 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17141 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17142 Also allow singlespace after single-letter capitals followed by a dot.
17144 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17145 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17147 2011-05-20 Nix <nix@esperi.org.uk>
17149 * files.el (basic-save-buffer-2):
17150 Fix handling of break-hardlink-on-save with non-existent files.
17152 2011-05-19 Deniz Dogan <deniz@dogan.se>
17154 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17155 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17157 2011-05-19 Glenn Morris <rgm@gnu.org>
17159 * progmodes/f90.el (f90-type-def-re):
17160 Handle "type, bind(c)". (Bug#8691)
17162 * emacs-lisp/autoload.el (batch-update-autoloads):
17163 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17165 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17167 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17168 property for the correct connection in case of multihops.
17170 2011-05-18 Glenn Morris <rgm@gnu.org>
17172 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17173 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17175 Rationalize calendar handling of day and month abbrev-arrays.
17176 * calendar/calendar.el (calendar-customized-p): New function.
17177 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17178 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17180 (calendar-abbrev-length, calendar-day-abbrev-array)
17181 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17182 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17183 Elements may no longer be nil.
17184 (calendar-day-name, calendar-month-name):
17185 Update for changed nature of abbrev arrays.
17186 * calendar/diary-lib.el (diary-name-pattern):
17187 Update for changed nature of abbrev arrays.
17188 (diary-mark-entries-1): Update calendar-make-alist calls.
17189 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17190 * calendar/cal-html.el (cal-html-day-abbrev-array):
17191 Simply inherit from calendar-day-abbrev-array.
17193 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17195 * progmodes/grep.el (grep-mode): Disable default
17196 compilation-directory-matcher setting (bug#8684).
17198 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17200 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17201 instead of "head" and "tail". There were problems with SunOS 5.9,
17202 and it performs better.
17204 2011-05-17 Glenn Morris <rgm@gnu.org>
17206 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17208 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17209 Replace obsolete function.
17211 * shell.el (pcomplete-parse-arguments-function): Declare.
17213 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17214 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17215 (appt-check): Doc fixes.
17216 (appt-disp-window-function, appt-delete-window-function):
17217 Remove needless special case in custom :type.
17218 (appt-display-count): Default to 0, not nil.
17219 (appt-check): Reset appt-display-count to 0, not nil.
17221 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
17223 * progmodes/python.el (python-font-lock-keywords):
17224 Add the Python 3.X keyword "nonlocal" (bug#8639).
17226 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17228 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17230 2011-05-16 Kevin Ryde <user42@zip.com.au>
17232 * info-look.el (makefile-automake-mode): New setups, looking in
17233 automake manual, then makefile-mode.
17234 (makefile-mode): Remove automake manual, have it just in
17235 makefile-automake-mode since there's various things different or
17236 not relevant to plain make.
17237 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17238 believe a hypothetical automake-mode would go to makefile-mode,
17239 not the other way around.
17241 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
17243 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17244 hunk-end tags (Bug#8672).
17246 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17247 vc-annotate-show-diff-revision-at-line (Bug#8671).
17249 2011-05-14 Glenn Morris <rgm@gnu.org>
17251 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17252 in the middle of an existing one with multiple authors. (Bug#8645)
17253 (change-log-font-lock-keywords): Also handle multiple author lines
17254 with leading tabs. (Bug#8644)
17256 * calendar/appt.el (appt-check): Rename some local variables.
17257 Some simplification/reordering.
17259 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17260 (feedmail-sendmail-f-doesnt-sell-me-out)
17261 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17262 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17263 (feedmail-queue-runner-message-sender): Set :version.
17264 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17265 (bbdb-dwim-net-address, vm-mail): Declare.
17266 (feedmail-binmail-gnulinuxish-template):
17267 Rename from feedmail-binmail-linuxish-template.
17268 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17269 Use insert-buffer-substring.
17271 2011-05-14 Bill Carpenter <bill@carpenter.org>
17273 * mail/feedmail.el (feedmail-patch-level): Increase.
17274 (feedmail-debug): New custom group.
17275 (feedmail-confirm-outgoing-timeout)
17276 (feedmail-sendmail-f-doesnt-sell-me-out)
17277 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17278 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17279 (feedmail-sender-line, feedmail-from-line)
17280 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17281 (feedmail-spray-this-address)
17282 (feedmail-spray-address-fiddle-plex-list)
17283 (feedmail-queue-use-send-time-for-date)
17284 (feedmail-queue-use-send-time-for-message-id)
17285 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17286 (feedmail-buffer-eating-function):
17288 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17289 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17290 (feedmail-message-action-scroll-down): New functions.
17291 (feedmail-queue-directory, feedmail-queue-draft-directory):
17292 Use expand-file-name.
17293 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17294 Remove C-v help entry.
17295 (feedmail-queue-buffer-file-name): New variable.
17296 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17297 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17298 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17299 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17300 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17301 (feedmail-message-action-toggle-spray)
17302 (feedmail-run-the-queue-no-prompts)
17303 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17304 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17305 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17306 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17307 (feedmail-envelope-deducer, feedmail-fiddle-from)
17308 (feedmail-fiddle-sender, feedmail-default-date-generator)
17309 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17310 (feedmail-fiddle-spray-address)
17311 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17312 (feedmail-fiddle-list-of-fiddle-plexes)
17313 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17314 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17315 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17316 Change default. Doc fix.
17317 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17318 (feedmail-binmail-linuxish-template): New constant.
17319 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17320 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17321 (feedmail-send-it): Add debug call.
17322 Use feedmail-queue-buffer-file-name, and
17323 feedmail-send-it-immediately-wrapper.
17324 (feedmail-message-action-send): Add debug call.
17325 Use feedmail-send-it-immediately-wrapper.
17326 (feedmail-queue-express-to-queue): Add debug call.
17327 Run feedmail-queue-express-hook.
17328 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17329 (feedmail-message-action-help-blat):
17330 Rename from feedmail-queue-send-edit-prompt-help-first.
17331 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17332 Check line-endings. Handle errors better.
17333 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17334 Doc fix. Add debug call.
17335 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17336 Use feedmail-queue-send-edit-prompt-inner.
17337 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17338 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17339 from feedmail-queue-send-edit-prompt.
17340 (feedmail-queue-send-edit-prompt-help)
17341 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17342 (feedmail-tidy-up-slug): Add debug call.
17343 Respect feedmail-queue-slug-suspect-regexp.
17344 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17345 (feedmail-dump-message-to-queue): Add debug call.
17346 Expand queue-directory.
17347 (feedmail-dump-message-to-queue): Change message slightly.
17348 Use feedmail-say-chatter.
17349 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17350 (feedmail-send-it-immediately-wrapper): New function.
17351 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17352 Insert empty string rather than newline. Handle full-frame case.
17353 Use catch/throw. Use feedmail-say-chatter.
17354 (feedmail-fiddle-from): Try mail-host-address.
17355 (feedmail-default-message-id-generator): Doc fix.
17356 Bind system-time-locale. Handle missing end.
17357 (feedmail-fiddle-x-mailer): Add debug call.
17358 Handle feedmail-x-mailer-line being nil.
17359 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17360 Add debug call. Use buffer-substring-no-properties.
17361 (feedmail-say-debug, feedmail-say-chatter): New functions.
17362 (feedmail-find-eoh): Give an explicit error.
17364 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
17366 * net/newst-treeview.el (newsticker-treeview-face): Change default
17367 family from helvetica to sans.
17368 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17369 etc/images/newsticker.
17371 * net/newst-reader.el (newsticker-feed-face): Change default
17372 family from helvetica to sans.
17374 * net/newst-plainview.el (newsticker-new-item-face)
17375 (newsticker-old-item-face, newsticker-immortal-item-face)
17376 (newsticker-obsolete-item-face, newsticker-date-face)
17377 (newsticker-statistics-face): Change default family from
17379 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17380 etc/images/newsticker.
17382 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17383 (newsticker--process-auto-mark-filter-match): Tell user about
17386 2011-05-13 Didier Verna <didier@xemacs.org>
17388 Common Lisp indentation improvements on defmethod and lambda-lists.
17389 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17391 (lisp-lambda-list-keyword-parameter-indentation)
17392 (lisp-lambda-list-keyword-parameter-alignment)
17393 (lisp-lambda-list-keyword-alignment): New customizable user options.
17394 (lisp-indent-defun-method): Improve docstring.
17395 (extended-loop-p): Fix comment.
17396 (lisp-indent-lambda-list-keywords-regexp): New variable.
17397 (lisp-indent-lambda-list): New function.
17398 (lisp-indent-259): Use it.
17399 (lisp-indent-defmethod): Support for more than one
17400 method qualifier and properly indent methods lambda-lists.
17401 (defgeneric): Provide a missing common-lisp-indent-function property.
17403 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17405 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17406 bounds for the empty string (bug#8667).
17408 2011-05-13 Glenn Morris <rgm@gnu.org>
17410 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17412 * mail/sendmail.el (sendmail-program): Try executable-find first.
17413 (sendmail-send-it): `sendmail-program' cannot be unbound.
17415 * calendar/appt.el (appt-make-list): Simplify.
17416 (appt-time-msg-list): Doc fix.
17417 (appt-check): Change mode-line message at the time of the appointment.
17419 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17421 * progmodes/ld-script.el (ld-script-keywords)
17422 (ld-script-builtins): Update keywords list.
17424 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17426 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17428 * shell.el (shell-completion-vars): New function.
17430 * simple.el (read-shell-command): Use it.
17431 (blink-matching-open): No need for " [...]" in minibuffer-message.
17433 2011-05-12 Glenn Morris <rgm@gnu.org>
17435 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17436 (appt-check): Simplify.
17438 2011-05-12 Eli Zaretskii <eliz@gnu.org>
17440 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17441 literal "/dev/null".
17443 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17445 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17448 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
17450 * progmodes/which-func.el (which-function):
17451 Use add-log-current-defun instead of add-log-current-defun-function,
17452 which might not be defined (Bug#8260).
17454 2011-05-12 Glenn Morris <rgm@gnu.org>
17456 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17457 Let byte-compile-initial-macro-environment always take precedence.
17459 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17461 * net/rcirc.el: Add support for SSL/TLS connections.
17462 (rcirc-server-alist): New field `encryption'.
17463 (rcirc): Check `encryption' settings.
17464 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17465 Merge make-local-variable into `set'.
17466 (rcirc--connection-open-p): New function.
17467 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17468 the process is not a network process (e.g. running gnutls-cli).
17469 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17470 Make rcirc-(en|de)code-coding-system local here.
17471 (rcirc-mode): Merge make-local-variable into `set'.
17472 (rcirc-parent-buffer): Make permanent buffer-local.
17473 (rcirc-multiline-minor-mode): Don't do it here.
17474 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17475 there's no server buffer.
17477 2011-05-11 Glenn Morris <rgm@gnu.org>
17479 * newcomment.el (comment-kill): Prefix "unused" local.
17481 * term/w32console.el (get-screen-color): Declare.
17483 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17484 Handle symbol elements of byte-compile-initial-macro-environment.
17486 2011-05-10 Leo Liu <sdl.web@gmail.com>
17488 * bookmark.el (bookmark-bmenu-mode-map):
17489 Bind bookmark-bmenu-search to `/'.
17491 * mail/footnote.el: Convert to utf-8 encoding.
17492 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17493 (Footnote-unicode): New function.
17494 (footnote-style-alist): Add unicode style to the list.
17495 (footnote-style): Doc fix.
17497 2011-05-10 Jim Meyering <meyering@redhat.com>
17499 Fix doubled-word typos.
17500 * international/quail.el (quail-insert-kbd-layout): and and -> and
17501 * kermit.el: and and -> and
17502 * net/ldap.el (ldap-search-internal): to to -> to
17503 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17504 * progmodes/js.el (js-mode): and and -> and
17505 * textmodes/artist.el (artist-move-to-xy): at at -> at
17506 (artist-draw-region-trim-line-endings): if if -> if
17507 And Safetyc -> Safety.
17508 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17510 2011-05-10 Glenn Morris <rgm@gnu.org>
17511 Stefan Monnier <monnier@iro.umontreal.ca>
17513 * files.el (hack-one-local-variable-eval-safep):
17514 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17516 2011-05-10 Glenn Morris <rgm@gnu.org>
17518 * calendar/diary-lib.el (diary-list-entries-hook)
17519 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17520 (diary-nongregorian-marking-hook, diary-list-entries)
17521 (diary-include-other-diary-files, diary-mark-entries)
17522 (diary-mark-included-diary-files): Doc fixes.
17524 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17526 * misc.el: Require tabulated-list.el during compilation.
17528 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17530 * progmodes/compile.el (compilation-start):
17531 Run compilation-filter-hook for the async case too.
17532 (compilation-filter-hook): Doc fix.
17534 2011-05-09 Deniz Dogan <deniz@dogan.se>
17536 * wdired.el: Remove outdated installation comment. Fix usage
17539 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17541 * misc.el: Implement new command `list-dynamic-libraries'.
17542 (list-dynamic-libraries--loaded-only-p): New variable.
17543 (list-dynamic-libraries--refresh): New function.
17544 (list-dynamic-libraries): New command.
17546 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17548 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17549 Fix the ant regexp to handle end-line and end-column info from jikes.
17550 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17551 higher priority to avoid clobbering by gnu.
17553 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17555 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17556 if the face has existing theme settings (Bug#8454).
17558 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17560 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17561 Only match variables declared via `my' or `our' (Bug#8261).
17563 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17564 special file names `.' and `..' (Bug#8259).
17566 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17568 * progmodes/grep.el (grep-mode-font-lock-keywords):
17569 Remove buffer-changing entries.
17570 (grep-filter): New function.
17571 (grep-mode): Add it to compilation-filter-hook.
17573 * progmodes/compile.el (compilation-filter-hook)
17574 (compilation-filter-start): New defvars.
17575 (compilation-filter): Call compilation-filter-hook prior to
17576 updating the process mark.
17578 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17580 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17582 2011-05-07 Eli Zaretskii <eliz@gnu.org>
17584 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17585 mailclient-send-it even if window-system is nil. (Bug#8595)
17587 * term/w32console.el (terminal-init-w32console):
17588 Call get-screen-color and use its output to set the frame
17589 background-mode. (Bug#8597)
17591 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17593 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17594 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17596 (defgeneric, eieio--defmethod): Use them.
17597 (eieio-defgeneric): Remove.
17598 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17600 2011-05-07 Glenn Morris <rgm@gnu.org>
17602 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17603 Use let rather than let*.
17604 (timeclock-find-discrep): Remove unused local.
17606 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17608 * calendar/appt.el (appt-time-msg-list): Doc fix.
17610 2011-05-06 Noah Friedman <friedman@splode.com>
17612 * apropos.el (apropos-print-doc): Only use
17613 emacs-lisp-docstring-fill-column when it is bound to an integer,
17614 per that variable's documentation.
17616 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17618 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17619 and warnings are not silently discarded (e.g. use -d instead of -P).
17621 2011-05-06 Glenn Morris <rgm@gnu.org>
17623 * calendar/appt.el (appt-message-warning-time): Doc fix.
17624 (appt-warning-time-regexp): New option.
17625 (appt-make-list): Respect appt-message-warning-time.
17627 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17629 (diary-add-to-list): Strip comments from the displayed string.
17630 (diary-mode): Set comment-start and comment-end.
17632 * vc/diff-mode.el (smerge-refine-subst): Declare.
17633 (diff-refine-hunk): Don't require smerge-mode when compiling.
17635 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
17637 * simple.el (list-processes): Return nil as the docstring says.
17639 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17641 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17643 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17644 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17645 determining of binary transfer. (Bug#7383)
17647 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17649 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17650 Fix port computation bug. (Bug#8618)
17652 2011-05-05 Glenn Morris <rgm@gnu.org>
17654 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17656 * simple.el (shell-dynamic-complete-functions)
17657 (comint-dynamic-complete-functions): Declare.
17659 * net/network-stream.el (gnutls-negotiate):
17660 * simple.el (tabulated-list-print): Fix declarations.
17662 * progmodes/gud.el (syntax-symbol, syntax-point):
17663 Remove unnecessary and incorrect declarations.
17665 * emacs-lisp/check-declare.el (check-declare-scan):
17666 Handle byte-compile-initial-macro-environment in bytecomp.el
17668 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17670 Fix earlier half-done eieio-defmethod change (bug#8338).
17671 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17672 Streamline and change calling convention.
17673 (defmethod): Adjust accordingly and simplify.
17674 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17675 new eieio--defmethod.
17676 (slot-boundp): Minor CSE simplification.
17678 2011-05-05 Milan Zamazal <pdm@zamazal.org>
17680 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17681 (glasses-make-readable): Use glasses-separate-capital-groups.
17683 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
17685 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17686 (warning-series): Doc fix.
17687 (display-warning): Don't try to create the buffer if we just found it.
17689 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
17691 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17692 (autoload-find-generated-file): New function.
17693 (generate-file-autoloads): Bind generated-autoload-file to
17695 (update-file-autoloads, update-directory-autoloads):
17696 Use autoload-find-generated-file. If called interactively, prompt for
17697 output file (Bug#7989).
17698 (batch-update-autoloads): Doc fix.
17700 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
17702 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17704 2011-05-04 Glenn Morris <rgm@gnu.org>
17706 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17707 function, so it follows changes in calendar-date-style.
17708 (diary-fancy-date-matcher): New function.
17709 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17710 (diary-fancy-font-lock-fontify-region-function):
17711 Use diary-fancy-date-pattern as a function.
17713 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17714 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17716 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17718 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17719 instead of positional arguments. Allow :keylist and :crlfiles
17721 (open-gnutls-stream): Call it.
17723 * net/network-stream.el (network-stream-open-starttls): Adjust to
17724 call `gnutls-negotiate' with :process and :hostname arguments.
17726 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17728 * minibuffer.el (completion--message): New function.
17729 (completion--do-completion, minibuffer-complete)
17730 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17731 (completion--do-completion): Don't ignore completion-auto-help when in
17734 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17735 internal encoding (e.g. tibetan zero is not whitespace).
17736 (global-whitespace-mode): Prefer save-current-buffer.
17737 (whitespace-trailing-regexp): Remove useless save-match-data.
17738 (whitespace-empty-at-bob-regexp): Minor simplification.
17740 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
17742 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17744 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
17746 * textmodes/ispell.el (ispell-add-per-file-word-list):
17747 Use `concat' to create string for insertion.
17749 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17751 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17752 Avoid open-line which runs post-self-insert-hook.
17753 (bibtex-fill-entry): Remove unused `end' var.
17755 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17757 * textmodes/ispell.el (ispell-add-per-file-word-list):
17758 Protect against `nil' value of `comment-start' (Bug#8579).
17760 2011-05-03 Leo Liu <sdl.web@gmail.com>
17762 * isearch.el (isearch-yank-pop): New command.
17763 (isearch-mode-map): Bind it to `M-y'.
17764 (isearch-forward): Mention it.
17766 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17768 * simple.el (minibuffer-complete-shell-command): Remove.
17769 (minibuffer-local-shell-command-map): Use completion-at-point.
17770 (read-shell-command): Setup completion vars here instead.
17771 (read-expression-map): Bind TAB to symbol completion.
17773 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17774 error directly rather via storing it into `results'.
17776 2011-05-02 Leo Liu <sdl.web@gmail.com>
17778 * vc/diff.el: Fix description.
17780 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17782 * server.el (server-eval-at): New function.
17784 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17786 * net/network-stream.el (open-network-stream): Take a :nowait
17787 parameter and pass it on to `make-network-process'.
17788 (network-stream-open-plain): Ditto.
17790 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17792 * faces.el (face-spec-set-match-display): Don't match toolkit
17793 options on terminal frames.
17795 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17797 * progmodes/pascal.el: Use lexical binding.
17798 (pascal-mode-map): Remove author preferences.
17800 * pcomplete.el (pcomplete-std-complete): Don't abuse
17801 completion-at-point.
17803 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17805 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17806 removing code that has been dead since 1991 or so.
17808 * startup.el (command-line): When warning about "_emacs", use a
17809 delayed warning to allow the user to filter it out.
17811 2011-04-28 Deniz Dogan <deniz@dogan.se>
17813 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17814 user has not joined.
17816 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17818 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17819 aren't any completions at point.
17821 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17823 * subr.el (display-delayed-warnings): New function.
17824 (delayed-warnings-hook): New variable.
17826 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17828 * minibuffer.el (completion-at-point, completion-help-at-point):
17829 Don't presume that a given completion-at-point-function will always
17830 use the same calling convention.
17832 * pcomplete.el (pcomplete-completions-at-point):
17833 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17834 pcomplete-seen is non-nil.
17835 (pcomplete-comint-setup): Also recognize the new comint/shell
17836 completion functions.
17837 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17838 pcomplete-seen is non-nil.
17840 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
17842 * calendar/icalendar.el (diary-lib): Add require statement.
17843 (icalendar--create-uid): Read out a uid from a text-property on
17844 the first character in the entry. This allows for code to add its
17845 own uid to the entry.
17846 (icalendar--convert-float-to-ical): Add export of
17847 `diary-float'-entries save for those with the optional DAY
17850 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17852 * subr.el (shell-quote-argument): Use alternate escaping strategy
17853 when we spot a variable reference in a string.
17855 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17857 * cus-start.el (all): Define customization for debug-on-event.
17859 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17861 * subr.el (shell-quote-argument): Escape correctly under Windows.
17863 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17865 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17867 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
17869 * net/tramp.el (tramp-process-actions): Add POS argument.
17870 Delete region between POS and (pos).
17872 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17873 Use `nil' position in `tramp-process-actions' call.
17874 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17876 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17877 position in `tramp-process-actions' call.
17879 * net/trampver.el: Update release number.
17881 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17883 * custom.el (defcustom): Obey lexical-binding.
17885 Fix octave-inf completion problems reported by Alexander Klimov.
17886 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17887 Inherit from octave-mode-syntax-table.
17888 (inferior-octave-mode): Set info-lookup-mode.
17889 (inferior-octave-completion-at-point): New function.
17890 (inferior-octave-complete): Use it and completion-in-region.
17891 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17892 comint-filename-completion.
17893 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17894 symbol elements which shouldn't be word elements.
17895 (octave-font-lock-keywords, octave-beginning-of-defun)
17896 (octave-function-header-regexp): Adjust regexps accordingly.
17897 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17899 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
17901 * net/gnutls.el (gnutls-errorp): Declare before first use.
17903 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17905 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17906 verify-error, and verify-hostname-error parameters. Check whether
17907 default trustfile exists before going to use it. Add missing
17908 argument to gnutls-message-maybe call. Return value.
17909 Reported by Claudio Bley <claudio.bley@gmail.com>.
17910 (open-gnutls-stream): Add usage example.
17912 * net/network-stream.el (network-stream-open-starttls): Give host
17913 parameter to `gnutls-negotiate'.
17914 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
17915 * subr.el (shell-quote-argument): Escape correctly under Windows.
17917 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
17919 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17920 Use correct match group (bug#8438).
17922 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17924 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17925 (package-menu--generate): New arg specifying packages to show.
17926 (package-menu-refresh, package-menu-execute, list-packages):
17928 (package-show-package-list): New function, replacing deleted
17929 package--list-packages (renamed because it is non-internal).
17931 * finder.el (finder-list-matches): Use package-show-package-list
17932 instead of deleted package--list-packages.
17934 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17935 Based on a previous implementation by Juanma Barranquero (Bug#8366).
17936 (vc-annotate-mode-map): Bind it to RET.
17938 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17940 * progmodes/etags.el (next-file): Don't use set-buffer to change
17941 buffers (Bug#8478).
17943 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17945 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17947 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17948 (apropos-accumulator): Doc fix.
17949 (apropos-function, apropos-macro, apropos-command)
17950 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17951 (apropos-plist): Add face property.
17952 (apropos-symbols-internal): Fix indentation.
17953 (apropos-print): Simplify help, and recognize apropos-multi-type.
17954 (apropos-print-doc): Use button-type-get to extract the button's
17955 face property. Fill docstring (Bug#8352).
17957 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
17959 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17961 * play/mpuz.el (mpuz-silent): Doc fix.
17962 (mpuz-mode-map): Use mapc.
17963 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17964 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17965 Fix typos in docstrings.
17967 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17968 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17970 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17972 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
17974 * minibuffer.el (completion--do-completion): Avoid the "Next char
17975 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17977 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17978 mouse-2 into unread-command-events, it is interpreted correctly.
17980 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
17981 (image-toggle-display): Doc fix.
17983 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
17985 * textmodes/page.el (what-page): Use line-number-at-pos to
17986 calculate line number (Bug#6825).
17988 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17990 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17991 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17992 Pass argument NO-DEFAULT to `find-tag-interactive'.
17994 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17996 Lexical-binding cleanup.
17998 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17999 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18000 * progmodes/ada-prj.el (ada-prj-initialize-values)
18001 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18002 (ada-prj-show-value):
18003 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18004 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18005 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18006 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18007 * progmodes/bug-reference.el (bug-reference-push-button):
18008 * progmodes/fortran.el (fortran-line-length):
18009 * progmodes/glasses.el (glasses-change):
18010 * progmodes/octave-mod.el (octave-fill-paragraph):
18011 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18012 (python-pdbtrack-grub-for-buffer, python-sentinel):
18013 * progmodes/sql.el (sql-save-connection):
18014 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18015 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18016 Mark unused parameters.
18018 * progmodes/compile.el (compilation--flush-directory-cache)
18019 (compilation--flush-parse, compile-internal): Mark unused parameters.
18020 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18021 (compilation-next-error-function): Remove unused variable `timestamp'.
18023 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18024 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18026 * progmodes/dcl-mode.el (dcl-end-of-command):
18027 Remove unused variable `start'.
18028 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18029 (dcl-option-value-basic, dcl-option-value-offset)
18030 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18031 Mark unused parameters.
18032 (dcl-save-local-variable): Remove unused variable `val'.
18035 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18036 Mark unused parameters.
18037 (delphi-ignore-changes): Move before first use.
18038 (delphi-charset-token-at): Remove unused variable `start'.
18039 (delphi-else-start): Remove unused variable `if-count'.
18040 (delphi-comment-block-start, delphi-comment-block-end):
18041 Remove unused variable `kind'.
18042 (delphi-indent-line): Remove unused variable `new-point'.
18044 * progmodes/ebrowse.el (ebrowse-files-list)
18045 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18046 Mark unused parameters. Don't quote `lambda'.
18047 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18048 Don't quote `lambda'.
18049 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18050 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18051 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18052 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18053 Use `ignore-errors'.
18054 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18055 (ebrowse-view/find-file-and-search-pattern)
18056 (ebrowse-view/find-member-declaration/definition):
18057 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18058 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18059 Rename parameter PREFIX-ARG to PREFIX.
18060 (ebrowse-tags-read-name): Remove unused variables `start' and
18062 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18065 * progmodes/etags.el (local-find-tag-hook): Declare.
18066 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18067 Mark unused parameters.
18069 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18070 (executable-interpret): Mark unused parameter.
18072 * progmodes/flymake.el (flymake-process-sentinel)
18073 (flymake-after-change-function)
18074 (flymake-create-temp-with-folder-structure)
18075 (flymake-get-include-dirs-dot): Mark unused parameters.
18076 (flymake-safe-delete-directory): Remove unused variable `err'.
18078 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18079 (speedbar-timer-fn, speedbar-line-text)
18080 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18081 (speedbar-center-buffer-smartly): Declare functions.
18082 (gdb-find-watch-expression): Remove unused variable `array'.
18083 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18084 (gdb-starting): Mark unused parameters.
18085 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18086 (gdb-table-string): Remove unused variable `res'.
18087 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18088 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18089 (gdb-display-buffer): Remove unused variable `cur-size'.
18091 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18092 allow lexical-binding compilation.
18093 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18094 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18095 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18096 Mark unused parameters.
18097 (gud-gdb-marker-filter): Remove unused variable `match'.
18098 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18099 lambda expressions and funcall them, instead of using `fset'.
18101 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18102 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18104 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18105 variable `header-beg'; use `let'.
18107 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18108 `restart', `last-sexp' and `at-do'.
18110 * progmodes/js.el (js--debug): Mark unused parameter.
18111 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18112 (js--splice-into-items): Remove unused variable `item'.
18113 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18115 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18116 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18117 (makefile-complete): Remove unused variable `try'.
18118 (makefile-fill-paragraph, makefile-match-function-end):
18119 Mark unused parameters.
18121 * progmodes/octave-inf.el (inferior-octave-complete):
18122 Remove unused variable `proc'.
18123 (inferior-octave-output-digest): Mark unused parameter.
18125 * progmodes/perl-mode.el (perl-calculate-indent):
18126 Remove unused variable `err'.
18128 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18129 (prolog-indent-line): Mark unused parameters.
18130 (prolog-indent-line): Remove unused variable `beg'.
18132 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18133 (reporter-dont-compact-list): Declare.
18135 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18136 Remove unused variable `char'.
18137 (sh-debug): Mark unused parameter.
18138 (sh-get-indent-info): Remove unused variable `start'.
18139 (sh-calculate-indent): Remove unused variable `var'.
18141 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18142 (simula-electric-keyword): Remove unused variable `null'.
18143 (simula-search-backward, simula-search-forward): Remove unused
18144 variables `begin' and `end'.
18146 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18147 Remove unused variable `pos'.
18148 (vera-electric-tab, vera-comment-uncomment-region):
18149 Mark unused parameters.
18150 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18152 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18154 * emacs-lisp/package.el (package--builtins, package-alist)
18155 (package-load-descriptor, package-built-in-p, package-activate)
18156 (define-package, package-installed-p)
18157 (package-compute-transaction, package-buffer-info)
18158 (package--push): Doc fix. Distinguish more clearly between
18159 version strings and version lists.
18161 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18163 Lexical-binding cleanup.
18165 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18166 (5x5-make-mutate-best):
18167 * play/fortune.el (fortune-in-buffer):
18168 * play/gomoku.el (gomoku-init-display):
18169 * play/solitaire.el (solitaire, solitaire-do-check):
18170 * play/tetris.el (tetris-default-update-speed-function):
18171 Mark unused parameters.
18173 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18174 (bubbles--shift): Remove unused variable `char-org'.
18175 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18176 (bubbles--show-images): Remove unused variable `char'.
18178 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18179 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18180 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18181 (decipher-analyze-buffer): Use ?\s.
18182 (decipher-make-checkpoint): Remove unused variable `mapping'.
18184 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18186 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18187 Remove unused variable `result'; use `let'.
18189 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18190 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18191 (gametree-children-shown-p, gametree-compute-reduced-score):
18192 Use `ignore-errors'.
18194 * play/handwrite.el (ps-lpr-switches): Declare.
18195 (handwrite): Remove unused variables `pmin' and `lastp'.
18197 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18199 * play/landmark.el (landmark-init-display)
18200 (landmark-update-naught-weights): Mark unused parameters.
18201 (landmark-y): Remove unused variable `noise'. Simplify.
18202 (landmark-human-plays): Remove unused variable `score'.
18204 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18205 (mpuz-try-proposal): Remove unused variable `game'.
18207 * play/zone.el (life-patterns): Declare.
18209 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18211 * vc/vc.el (ediff-vc-internal): Declare function.
18213 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18215 * shell.el: Use lexical-binding and std completion UI.
18216 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18217 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18218 comint-preoutput-filter-functions rather than on
18219 comint-output-filter-functions.
18220 (shell-command-completion, shell--command-completion-data)
18221 (shell-filename-completion, shell-environment-variable-completion)
18222 (shell-c-a-p-replace-by-expanded-directory): New functions.
18223 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18224 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18225 (shell-dynamic-complete-environment-variable): Use them.
18226 (shell-dynamic-complete-as-environment-variable)
18227 (shell-dynamic-complete-as-command): Remove.
18228 (shell-match-partial-variable): Match past point.
18229 * comint.el: Clean up use of completion-at-point-functions.
18230 (comint-completion-at-point): New function.
18231 (comint-mode): Use it completion-at-point-functions.
18232 (comint-dynamic-complete): Make it obsolete.
18233 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18234 (comint-c-a-p-replace-by-expanded-history): New function.
18235 (comint-dynamic-complete-functions)
18236 (comint-replace-by-expanded-history): Use it.
18237 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18238 termination strings. Try harder to avoid second try-completion.
18239 (completion-in-region-mode-map): Disable bindings that don't work yet.
18241 * comint.el: Use lexical-binding. Require CL.
18242 (comint-dynamic-complete-functions): Use comint-filename-completion.
18243 (comint-completion-addsuffix): Tweak custom type.
18244 (comint-filename-completion, comint--common-suffix)
18245 (comint--common-quoted-suffix, comint--table-subvert)
18246 (comint--complete-file-name-data): New functions.
18247 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18248 (comint-dynamic-list-filename-completions): Use them.
18249 (comint-dynamic-simple-complete): Make obsolete.
18251 * minibuffer.el (completion-in-region-mode):
18252 Keep completion-in-region-mode--predicate global.
18253 (completion-in-region--postch):
18254 Assume completion-in-region-mode--predicate is not null.
18256 * progmodes/flymake.el (flymake-start-syntax-check-process):
18257 Obey `dir'. Simplify.
18259 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18260 we're in VC after all.
18262 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18264 * vc/vc.el (vc-diff-build-argument-list-internal)
18265 (vc-version-ediff, vc-ediff): New commands.
18266 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18268 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18270 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18273 * obsolete/erc-hecomplete.el: Make obsolete.
18274 * obsolete/: Standardize obsolescence info in the header.
18276 2011-04-20 Glenn Morris <rgm@gnu.org>
18278 * calendar/solar.el (solar-horizontal-coordinates):
18279 Use the longitude argument rather than `calendar-longitude'.
18280 (solar-date-next-longitude): Remove unused locals.
18282 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18284 * whitespace.el: New version 13.2.1.
18286 2011-04-20 felix <EmacsWiki> (tiny change)
18288 * whitespace.el (global-whitespace-mode): Keep highlight when
18289 switching between major modes on a file.
18291 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18293 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18294 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18295 multi-line comments as well.
18297 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
18299 Lexical-binding cleanup.
18301 * arc-mode.el (archive-mode-revert):
18302 * cmuscheme.el (scheme-interactively-start-process):
18303 * custom.el (custom-initialize-delay):
18304 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18305 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18306 * emacs-lock.el (emacs-lock-clear-sentinel):
18307 * ezimage.el (defezimage):
18308 * follow.el (follow-avoid-tail-recenter):
18309 * fringe.el (set-fringe-mode-1):
18310 * generic-x.el (bat-generic-mode-compile):
18311 * help-mode.el (help-info-variable, help-do-xref)
18312 (help-mode-revert-buffer):
18313 * help.el (view-emacs-todo):
18314 * iswitchb.el (iswitchb-completion-help):
18315 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18316 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18317 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18318 * locate.el (locate-update):
18319 * longlines.el (longlines-encode-region)
18320 (longlines-after-change-function):
18321 * outline.el (outline-isearch-open-invisible):
18322 * ps-def.el (declare-function, charset-dimension, char-width)
18324 * ps-mule.el (ps-mule-plot-string):
18325 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18326 (recentf-edit-list-select, recentf-edit-list-validate)
18327 (recentf-open-files-action):
18328 * rect.el (delete-whitespace-rectangle-line)
18329 (rectangle-number-line-callback):
18330 * register.el (window-configuration-to-register)
18331 (frame-configuration-to-register):
18332 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18333 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18334 (xselect-convert-to-targets, xselect-convert-to-delete)
18335 (xselect-convert-to-filename, xselect-convert-to-charpos)
18336 (xselect-convert-to-lineno, xselect-convert-to-colno)
18337 (xselect-convert-to-os, xselect-convert-to-host)
18338 (xselect-convert-to-user, xselect-convert-to-class)
18339 (xselect-convert-to-name, xselect-convert-to-integer)
18340 (xselect-convert-to-atom, xselect-convert-to-identity):
18341 * subr.el (declare, ignore, process-kill-without-query)
18342 (text-clone-maintain):
18343 * terminal.el (te-get-char, te-tic-sentinel):
18344 * tool-bar.el (tool-bar-make-keymap):
18345 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18346 * type-break.el (type-break-mode, type-break-noninteractive-query):
18347 * view.el (View-back-to-mark):
18348 * wid-browse.el (widget-browse-action, widget-browse-widget)
18349 (widget-browse-widgets, widget-browse-sexp):
18350 * widget.el (define-widget-keywords):
18351 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18352 Mark unused parameters.
18354 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18355 (align-areas): Remove unused variable `look'.
18356 (align-region): Remove unused variables `real-end' and `pos-list'.
18358 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18360 * bindings.el (mode-line-modified, mode-line-remote):
18361 Mark unused parameters.
18362 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18364 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18365 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18367 * comint.el (comint-history-isearch-pop-state)
18368 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18369 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18370 (comint-substitute-in-file-name): Doc fix.
18372 * completion.el (cmpl-statistics-block): Mark unused parameter.
18373 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18374 (save-completions-to-file, load-completions-from-file):
18375 Remove unused local variable `e'.
18377 * composite.el (compose-chars): Remove unused variable `len'.
18378 (lgstring-insert-glyph): Remove unused variable `g'.
18379 (compose-glyph-string): Remove unused variables `ascent',
18380 `descent', `lbearing' and `rbearing'.
18381 (compose-glyph-string-relative): Remove unused variables
18382 `lbearing', `rbearing' and `wadjust'.
18383 (compose-gstring-for-graphic): Remove unused variables `header',
18384 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18385 (compose-gstring-for-terminal): Remove unused variables `header'
18386 and `nchars'. Use `let', not `let*'.
18388 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18389 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18390 (Custom-buffer-done, custom-buffer-create-internal)
18391 (custom-browse-visibility-action, custom-browse-group-tag-action)
18392 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18393 (widget-magic-mouse-down-action, custom-toggle-parent)
18394 (custom-add-parent-links, custom-toggle-hide-variable)
18395 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18396 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18397 (custom-face-menu-create, custom-variable-menu-create, get)
18398 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18399 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18400 (customize-apropos): Remove unused variable `tests'.
18401 (custom-group-value-create): Remove unused variable `hidden-p'.
18402 (sort-fold-case): Declare.
18404 * cus-theme.el (custom-reset-standard-faces-list)
18405 (custom-reset-standard-variables-list): Declare.
18406 (customize-create-theme, custom-theme-revert, custom-theme-write)
18407 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18408 Mark unused parameters.
18410 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18412 * delim-col.el (delimit-columns-max): Move defvar before first use.
18414 * descr-text.el (describe-char-categories): Don't quote `lambda'.
18415 (describe-char): Don't quote `lambda'. Mark unused parameter.
18417 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18418 (auto-insert): Declare.
18419 (desktop-restore-file-buffer): Rename desktop-* parameters;
18421 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18422 (desktop-buffer): Rename desktop-* parameters.
18424 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18425 (dframe-reposition-frame-xemacs, dframe-help-echo)
18426 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18427 Mark unused parameters.
18429 * dired-aux.el (backup-extract-version-start, overwrite-query)
18430 (overwrite-backup-query, rename-regexp-query)
18431 (rename-non-directory-query): Declare.
18432 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18433 (dired-add-entry): Remove unused variable `orig-file-name'.
18434 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18435 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18436 `dired-copy-preserve-time' directly.
18437 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18438 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18440 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18441 (dired-virtual-revert, dired-make-relative-symlink):
18442 Mark unused parameters.
18443 (manual-program): Declare.
18444 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18445 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18446 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18448 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18450 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18452 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18455 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18457 * electric.el (Electric-command-loop): Rename parameter
18458 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18460 * expand.el (expand-in-literal): Remove unused variable `here'.
18462 * facemenu.el (facemenu-add-new-color):
18463 Remove unused variable `docstring'.
18465 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18466 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18467 (face-attr-construct): Mark unused parameter. Doc fix.
18468 (read-color): Remove unused variable `hex-string'.
18470 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18471 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18472 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18473 (display-buffer-other-frame): Remove unused variable `old-window'.
18474 (kill-buffer-hook): Declare.
18475 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18476 Mark unused parameters.
18477 (after-find-file): Pass 1 to `auto-save-mode', not t.
18479 * files-x.el (auto-insert): Declare.
18480 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18482 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18483 variable `buf'. Mark unused parameter.
18484 (find-lisp-insert-directory): Mark unused parameter.
18486 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18487 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18488 (format-common-tail): Remove, unused.
18489 (format-deannotate-region): Remove unused variable `loc'.
18490 (format-annotate-region): Remove unused variable `p'.
18491 (format-annotate-single-property-change): Remove unused variables
18492 `default' and `tail'.
18494 * forms.el (read-file-filter): Declare.
18495 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18497 * frame.el (frame-creation-function-alist): Mark unused parameter.
18498 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18500 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18501 Remove unused parameters.
18502 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18503 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18505 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18506 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18507 (hfy-prepare-tag-map): Mark unused parameters.
18508 (htmlfontify-buffer): Use `called-interactively-p'.
18510 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18511 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18512 (ibuffer-do-occur): Mark unused parameters.
18513 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18514 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18516 * ibuffer.el: Don't quote `lambda'.
18517 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18518 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18519 Mark unused parameters.
18521 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18522 (ido-completing-read): Mark unused parameters.
18523 (ido-copy-current-word): Mark unused parameters;
18524 remove unused variable `name'.
18525 (ido-sort-merged-list): Remove unused parameter `dirs'.
18527 * ielm.el (ielm-input-sender): Mark unused parameter.
18528 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18529 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18530 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18531 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18532 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18534 * image-dired.el (image-dired-display-thumbs): Remove unused
18535 variables `curr-file' and `count'.
18536 (image-dired-remove-tag): Remove unused variable `start'.
18537 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18538 variable `curr-file'
18539 (image-dired-rotate-original): Remove unused variable `temp-file'.
18540 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18541 Remove unused variable `file'.
18542 (image-dired-gallery-generate): Remove unused variable `curr'.
18543 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18545 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18547 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18549 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18551 * isearch.el (minibuffer-history-symbol): Declare.
18552 (isearch-edit-string): Remove unused variable `err'.
18553 (isearch-message-prefix, isearch-message-suffix):
18554 Mark unused parameters.
18556 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18558 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18560 * makesum.el (double-column): Remove unused variable `cnt'.
18562 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18563 (ido-ignore-item-temp-list): Declare.
18565 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18566 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18567 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18568 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18571 * mouse-sel.el (mouse-extend-internal):
18572 Remove unused variable `orig-window-frame'.
18574 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18575 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18576 Move declarations before first use.
18577 (pcomplete-opt): Mark unused parameters; doc fix.
18579 * proced.el (proced-revert): Mark unused parameter.
18580 (proced-send-signal): Remove unused variable `err'.
18582 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18583 Rename parameter PREFIX-ARG to ARG.
18584 (ps-basic-plot-string, ps-basic-plot-whitespace):
18585 Mark unused parameters.
18587 * replace.el (replace-count): Define.
18588 (occur-revert-function): Mark unused parameters.
18589 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18590 (isearch-case-fold-search, isearch-string): Declare.
18591 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18592 bind `case-fold-search'. Remove unused variables `beg' and `end',
18594 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18595 COUNT and bind `replace-count'.
18596 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18599 * savehist.el (print-readably, print-string-length): Declare.
18601 * shadowfile.el (shadow-expand-cluster-in-file-name):
18602 Remove unused variable `cluster'.
18603 (shadow-copy-file): Remove unused variable `i'.
18604 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18605 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18606 (shadow-define-literal-group, shadow-define-regexp-group)
18607 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18609 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18610 (shell): Use `called-interactively-p'.
18611 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18613 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18614 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18615 (delete-backward-char): Remove unused variable `ocol'.
18616 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18617 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18618 (event-apply-hyper-modifier, event-apply-shift-modifier)
18619 (event-apply-control-modifier, event-apply-meta-modifier):
18620 Mark unused parameters.
18621 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18622 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18624 * speedbar.el (speedbar-ignored-directory-expressions)
18625 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18626 (speedbar-find-file, speedbar-dir-follow)
18627 (speedbar-directory-buttons-follow, speedbar-tag-find)
18628 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18629 (speedbar-buffers-line-directory, speedbar-buffer-click):
18630 Mark unused parameters.
18631 (speedbar-tag-file): Remove unused variable `mode'.
18632 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18634 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18636 * talk.el (talk): Remove unused variable `display'.
18638 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18639 (tar-write-region-annotate): Mark unused parameter.
18641 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18642 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18643 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18644 warning by another.
18646 * time-stamp.el (time-stamp-string-preprocess):
18647 Remove unused variable `require-padding'.
18649 * tree-widget.el (widget-glyph-enable): Declare.
18650 (tree-widget-action): Mark unused parameter.
18652 * w32-fns.el (x-get-selection): Mark unused parameter.
18653 (autoload-make-program, generated-autoload-file): Declare.
18655 * wdired.el (wdired-revert): Mark unused parameters.
18656 (wdired-xcase-word): Remove unused variable `err'.
18658 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18659 (whitespace-help-scroll): Remove unused variable `data-help'.
18661 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18662 (widget-image-insert, widget-after-change, default)
18663 (widget-default-format-handler, widget-default-notify)
18664 (widget-default-prompt-value, widget-info-link-action)
18665 (widget-url-link-action, widget-function-link-action)
18666 (widget-variable-link-action, widget-file-link-action)
18667 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18668 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18669 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18670 (widget-insert-button-action, widget-delete-button-action, visibility)
18671 (widget-documentation-link-action, widget-documentation-string-action)
18672 (widget-const-prompt-value, widget-regexp-match, symbol)
18673 (widget-coding-system-prompt-value)
18674 (widget-key-sequence-value-to-external, sexp)
18675 (widget-sexp-value-to-internal, character, vector, cons)
18676 (widget-choice-prompt-value, widget-boolean-prompt-value)
18677 (widget-color--choose-action): Mark unused parameters.
18678 (widget-item-match-inline, widget-choice-match-inline)
18679 (widget-checklist-match, widget-checklist-match-inline)
18680 (widget-group-match): Rename parameter VALUES to VALS.
18681 (widget-field-value-set): Remove unused variable `size'.
18682 (widget-color-action): Remove unused variables `value' and `start'.
18684 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
18685 variable `dir'. Doc fix.
18686 (windmove-find-other-window): Don't pass it.
18688 * window.el (count-windows): Mark unused parameter.
18689 (bw-adjust-window): Remove unused variable `err'.
18691 * woman.el (woman-file-name): Remove unused variable `default'.
18692 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18693 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18694 (global-font-lock-mode): Declare.
18695 (woman-decode-region): Mark unused parameter.
18696 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18698 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18699 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18700 (x-dnd-handle-moz-url): Remove unused variable `title'.
18701 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18703 * xml.el (xml-parse-tag, xml-parse-attlist):
18704 Remove unused variable `pos'.
18706 2011-04-19 Glenn Morris <rgm@gnu.org>
18708 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18709 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18710 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18711 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18712 * calendar/cal-html.el (cal-html-insert-minical):
18713 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18714 (calendar-mark-date-pattern):
18715 Prefix "unused" locals.
18717 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18718 optional argument `style'.
18720 * calendar/appt.el (appt-make-list):
18721 * calendar/cal-china.el (calendar-chinese-date-string):
18722 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18723 (diary-hebrew-yahrzeit):
18724 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18725 * calendar/calendar.el (calendar-generate-window):
18726 * calendar/time-date.el (time-to-days):
18727 Remove unused local variables.
18729 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
18731 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18732 glyphless-char-display table.
18733 (tabulated-list-glyphless-char-display): New var.
18735 2011-04-18 Sam Steingold <sds@gnu.org>
18737 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18738 to acknowledgments.
18740 2011-04-17 Glenn Morris <rgm@gnu.org>
18742 * calendar/diary-lib.el (diary-sexp-entry):
18743 * calendar/holidays.el (holiday-sexp):
18744 Set debug-on-error rather than the removed stack-trace-on-error.
18746 2011-04-16 Glenn Morris <rgm@gnu.org>
18748 * progmodes/f90.el: Use lexical-binding.
18749 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18751 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18753 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18754 (mail-mode): Setup mailalias completion here instead.
18755 * mail/mailalias.el: Use lexical-binding.
18756 (pattern, mailalias-done): Declare dynamic.
18757 (mail-completion-at-point-function): New function, from mail-complete.
18758 (mail-complete): Use it.
18759 (mail-completion-expand): New function.
18760 (mail-get-names): Use it.
18761 (mail-directory, mail-directory-process, mail-directory-stream):
18762 Don't use `pattern' for lexically bound arg.
18764 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18766 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18767 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18768 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18770 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18771 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18772 (byte-interactive-p): Define them again, for use when inlining
18775 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
18777 * loadup.el: Use `string-to-number', not `string-to-int'.
18779 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18781 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18782 gud-gdb-complete-command.
18783 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18784 (gud-gdb-completion-at-point): New function.
18785 (gud-gdb-completions): Remove.
18787 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
18789 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18790 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18791 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18792 whether `executable-find' is bound.
18794 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18796 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18798 * minibuffer.el (completion-in-region-mode-predicate)
18799 (completion-in-region-mode--predicate): New vars.
18800 (completion-in-region, completion-in-region--postch)
18801 (completion-in-region-mode): Use them.
18802 (completion--capf-wrapper): Also return the hook function.
18803 (completion-at-point, completion-help-at-point):
18804 Adjust and provide a predicate.
18806 Preserve arg names for advice of subr and lexical functions (bug#8457).
18807 * help-fns.el (help-function-arglist): Consolidate the subr and
18808 new-byte-code cases. Add argument `preserve-names' to extract names
18809 from the docstring when needed.
18810 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18811 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18812 (ad-arglist): Use help-function-arglist's new arg.
18813 (ad-definition-type): Use cond.
18815 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
18817 * autorevert.el (auto-revert-handler):
18818 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18819 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18820 Don't quote lambda.
18822 * image-mode.el (image-transform-set-scale):
18823 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18825 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18827 * net/network-stream.el (network-stream-open-starttls): Only do
18828 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18829 Upgrades via gnutls-cli are too slow to be done opportunistically.
18831 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
18833 * dframe.el (dframe-current-frame): Remove spurious quote.
18835 2011-04-12 Glenn Morris <rgm@gnu.org>
18837 * calendar/cal-tex.el (cal-tex-end-document):
18838 Try to automatically use latin1 input if needed.
18840 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18841 Don't try to cons a mark onto an empty element.
18843 2011-04-11 Leo Liu <sdl.web@gmail.com>
18845 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18847 (ido-kill-buffer-at-head): Support killing virtual buffers.
18849 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
18851 * minibuffer.el (completion-show-inline-help): New var.
18852 (completion--do-completion, minibuffer-complete)
18853 (minibuffer-force-complete, minibuffer-complete-word):
18854 Inhibit minibuffer messages if completion-show-inline-help is nil.
18856 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18857 to avoid interference from inline help (Bug#5849).
18859 2011-04-10 Leo Liu <sdl.web@gmail.com>
18861 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18864 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
18866 * image-mode.el (image-toggle-display-image): Signal an error if
18868 (image-transform-mode, image-transform-resize)
18869 (image-transform-set-rotation): Doc fix.
18870 (image-transform-set-resize): Delete.
18871 (image-transform-set-scale, image-transform-fit-to-height)
18872 (image-transform-fit-to-width): Handle image-toggle-display-image
18873 and image-transform-resize directly.
18875 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
18877 * doc-view.el (doc-view-fit-width-to-window)
18878 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18879 New functions for fitting the shown image to the Emacs window size.
18880 (doc-view-mode-map): Add bindings for the new functions.
18882 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
18884 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18885 Fix typo in docstring.
18887 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18889 * files.el (file-size-human-readable): Produce one digit after
18890 decimal, like "ls -lh" does.
18892 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18893 the file size representation.
18895 * simple.el (list-processes): If async subprocesses are not
18896 available, error out with a clear error message.
18898 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
18900 * help.el (help-form-show): New function, to be called from C.
18901 Put help-form output in a buffer named differently than *Help*.
18903 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18905 * files.el (file-size-human-readable): New function.
18907 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18908 computing the representation inline. Don't require `cl'.
18910 2011-04-08 Glenn Morris <rgm@gnu.org>
18912 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18914 * net/browse-url.el (browse-url-firefox):
18915 Test system-type, not system-configuration.
18917 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18918 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18919 Use log-edit-empty-buffer-p. (Bug#7598)
18921 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18922 (rlogin-mode-map): Initialize in the defvar.
18923 (rlogin): Use ignore-errors.
18925 * replace.el (occur-mode-map): Some fixes for menu items.
18927 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18929 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18931 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18933 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18934 issuing unused warnings.
18936 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18939 * simple.el: Lisp reimplement of list-processes. Based on an
18940 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18941 (process-menu-mode): New major mode.
18942 (list-processes--refresh, list-processes):
18943 (process-menu-visit-buffer): New functions.
18945 * files.el (save-buffers-kill-emacs): Don't assume any return
18946 value of list-processes, which is undocumented anyway.
18948 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18950 * emacs-lisp/tabulated-list.el: New file.
18952 * emacs-lisp/package.el: Use Tabulated List mode.
18953 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18954 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18955 table format using Tabulated List mode variables.
18956 (package--push): New macro, replacing package-list-maybe-add.
18957 (package-menu--generate): Use package--push. Renamed from
18958 package--generate-package-list.
18959 (package-menu-refresh, list-packages): Use it.
18960 (package-menu--print-info): Rename from package-print-package.
18961 Return insertion data instead of inserting it directly.
18962 (package-menu-describe-package, package-menu-execute):
18963 Use tabulated-list-get-id.
18964 (package-menu-mark-delete, package-menu-mark-install)
18965 (package-menu-mark-unmark, package-menu-backup-unmark)
18966 (package-menu-mark-obsolete-for-deletion):
18967 Use tabulated-list-put-tag.
18968 (package--list-packages, package-menu-revert)
18969 (package-menu-get-package, package-menu-get-version)
18970 (package-menu-sort-by-column): Functions deleted.
18971 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18972 (package-menu--status-predicate, package-menu--version-predicate)
18973 (package-menu--name-predicate)
18974 (package-menu--description-predicate): Handle arguments in the
18975 Tabulated List format.
18976 (package-list-packages-no-fetch): Call list-packages.
18978 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
18980 * files.el (after-find-file-from-revert-buffer): Remove variable.
18981 (after-find-file): Don't bind it.
18982 (revert-buffer-in-progress-p): New variable.
18983 (revert-buffer): Bind it.
18984 Pass nil for `after-find-file-from-revert-buffer'.
18986 * saveplace.el (save-place-find-file-hook): Use new variable
18987 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18989 2011-04-06 Glenn Morris <rgm@gnu.org>
18991 * Makefile.in (AUTOGEN_VCS): New variable.
18992 (autoloads): Use $AUTOGEN_VCS.
18994 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18995 * calendar/calendar.el (calendar-mode-map):
18996 Check for toolkit scroll bars. (Bug#8305)
18998 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19000 * minibuffer.el (completion-in-region--postch)
19001 (completion-in-region-mode): Remove unnecessary messages.
19003 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19005 * font-lock.el (font-lock-refresh-defaults):
19006 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19007 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19009 * info.el (Info-directory-list, Info-read-node-name-2)
19010 (Info-split-parameter-string): Doc fixes.
19011 (Info-virtual-nodes): Reflow docstring.
19012 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19013 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19014 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19015 Fix typos in docstrings.
19016 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19017 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19018 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19019 (Info-restore-desktop-buffer): Mark unused parameters.
19020 (Info-directory-find-file, Info-directory-find-node)
19021 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19022 (Info-virtual-index-find-node, Info-apropos-find-file)
19023 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19024 Mark unused parameters; fix typos in docstrings.
19025 (Info-virtual-index): Remove unused local variable `nodename'.
19027 2011-04-05 Deniz Dogan <deniz@dogan.se>
19029 * net/rcirc.el: Update my e-mail address.
19030 (rcirc-mode-map): Remove M-o binding.
19032 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19034 * startup.el (command-line): Save the cursor's theme-face
19035 directly, instead of using face-override-spec.
19037 * custom.el (load-theme): Minor optimization in assigning faces.
19039 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19041 * help-fns.el (describe-variable): Complete all variables having
19042 documentation, including keywords.
19043 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19045 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19047 Convert to lexical-binding.
19049 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19050 (bs--get-marked-string, bs--get-modified-string)
19051 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19052 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19053 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19055 * ehelp.el (electric-help-execute-extended)
19056 (electric-help-ctrl-x-prefix):
19057 * hexl.el (hexl-revert-buffer-function):
19058 * linum.el (linum-after-change, linum-after-scroll):
19059 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19061 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19063 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19070 * epg.el: Use lexical binding.
19072 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19074 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19076 * textmodes/flyspell.el (flyspell-word): Recognize default
19077 dictionary case for flyspell-mark-duplications-exceptions.
19078 Use regexp matching for languages.
19079 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19080 default dictionary (Bug#7926).
19082 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19084 * emacs-lisp/package.el (package--with-work-buffer):
19085 Recognize https URLs.
19087 * net/network-stream.el: Move from gnus/proto-stream.el.
19088 Change prefix to network-stream throughout.
19089 (open-protocol-stream): Merge into open-network-stream, leaving
19090 open-protocol-stream as an alias. Handle nil BUFFER args.
19092 * subr.el (open-network-stream): Move to net/network-stream.el.
19094 2011-04-02 Glenn Morris <rgm@gnu.org>
19096 * find-dired.el (find-exec-terminator): New option.
19097 (find-ls-option): Test for -ls support.
19098 (find-ls-subdir-switches): Test for -b in find-ls-option.
19099 (find-dired, find-grep-dired): Doc fixes.
19100 (find-dired): Use find-exec-terminator.
19102 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19103 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19104 (find-name-arg): Remove purecopy.
19106 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19107 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19108 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19109 accordingly. Don't add the null-device if not needed.
19111 * files.el (save-some-buffers): Doc fix.
19113 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19115 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19117 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19119 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19120 Use `dolist' rather than `mapcar'.
19122 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19124 Add lexical binding.
19126 * subr.el (apply-partially): Use new closures rather than CL.
19127 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19128 (dolist, dotimes): Use slightly different expansion for lexical code.
19129 (functionp): Move to C.
19130 (letrec): New macro.
19131 (with-wrapper-hook): Use it and apply-partially instead of CL.
19132 (eval-after-load): Preserve lexical-binding.
19133 (save-window-excursion, with-output-to-temp-buffer): Turn them
19136 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19138 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19140 (help-add-fundoc-usage): Don't add `Not documented'.
19141 (help-function-arglist): Handle closures, subroutines, and new
19142 byte-code-functions.
19143 (help-make-usage): Remove leading underscores.
19144 (describe-function-1): Handle closures.
19145 (describe-variable): Use special-variable-p for completion.
19147 * files.el (lexical-binding): Declare safe.
19149 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19150 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19151 (pcase): Add `let' pattern.
19152 Change memoization so it actually works.
19153 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19154 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19157 * emacs-lisp/macroexp.el: Use lexical binding.
19158 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19159 Don't convert ' to #' without checking that it's indeed quoting
19162 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19163 Use eval-sexp-add-defvars.
19164 (eval-sexp-add-defvars): New fun.
19166 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19168 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19170 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19171 than the internal `byte-compile-lambda'.
19172 (defmethod): Don't hide code under quotes.
19173 (eieio-defmethod): New `code' argument.
19175 * emacs-lisp/eieio-comp.el: Remove.
19177 * emacs-lisp/edebug.el (edebug-eval-defun)
19178 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19179 (edebug-toggle): Avoid `eval'.
19181 * emacs-lisp/disass.el (disassemble-internal): Handle new
19183 (disassemble-1): Handle new byte codes.
19185 * emacs-lisp/cl.el (pushnew): Silence warning.
19187 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19188 (cl-byte-compile-throw): Remove.
19189 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19191 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19194 * emacs-lisp/cconv.el: New file.
19196 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19197 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19198 (byte-compile-initial-macro-environment):
19199 Handle declare-function here.
19200 (byte-compile--lexical-environment): New var.
19201 (byte-stack-ref, byte-stack-set, byte-discardN)
19202 (byte-discardN-preserve-tos): New lap codes.
19203 (byte-interactive-p): Don't use any more.
19204 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19206 (byte-compile-lapcode): Use them and handle new lap codes.
19207 (byte-compile-obsolete): Remove.
19208 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19209 (byte-compile-arglist-warn): Check late def of inlinable funs.
19210 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19211 since they should have been expanded by now.
19212 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19213 (byte-compile-from-buffer): Remove unused second arg.
19214 (byte-compile-preprocess): New function.
19215 (byte-compile-toplevel-file-form): New function to distinguish
19216 file-form calls from outside from file-form calls from hunk-handlers.
19217 (byte-compile-file-form): Simplify.
19218 (byte-compile-file-form-defsubst): Remove.
19219 (byte-compile-file-form-defmumble): Simplify now that
19220 byte-compile-lambda always returns a byte-code-function.
19221 (byte-compile): Preprocess.
19222 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19223 Remove, not used any more.
19224 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19225 (byte-compile-make-args-desc): New funs.
19226 (byte-compile-lambda): Handle lexical functions. Always return
19227 a byte-code-function.
19228 (byte-compile-reserved-constants): New var, to make up room for
19229 closed-over variables.
19230 (byte-compile-constants-vector): Obey it.
19231 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19232 (byte-compile-macroexpand-declare-function): New function.
19233 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19234 byte-code-functions.
19235 (byte-compile-form): Check obsolescence here.
19236 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19237 (byte-compile-variable-ref): Remove.
19238 (byte-compile-dynamic-variable-op): New fun.
19239 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19240 (byte-compile-variable-set): New funs.
19241 (byte-compile-discard): Add 2 args.
19242 (byte-compile-stack-ref, byte-compile-stack-set)
19243 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19244 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19245 macroexpand-all instead.
19246 (byte-compile-quote-form): Remove.
19247 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19248 (byte-compile-bind, byte-compile-unbind): New funs.
19249 (byte-compile-let): Handle let* and lexical binding.
19250 (byte-compile-let*): Remove.
19251 (byte-compile-catch, byte-compile-unwind-protect)
19252 (byte-compile-track-mouse, byte-compile-condition-case):
19253 Handle a new :fun-body form, used for lexical scoping.
19254 (byte-compile-save-window-excursion)
19255 (byte-compile-with-output-to-temp-buffer): Remove.
19256 (byte-compile-defun): Simplify.
19257 (byte-compile-stack-adjustment): New fun.
19258 (byte-compile-out): Use it.
19259 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19261 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19264 * emacs-lisp/byte-opt.el: Use lexical binding.
19265 (byte-inline-lapcode): Remove (to bytecomp).
19266 (byte-compile-inline-expand): Pay attention to inlining to/from
19267 lexically bound code.
19268 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19270 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19271 any more and don't call compiler-macros.
19272 (byte-compile-splice-in-already-compiled-code): Remove.
19273 (byte-code): Don't inline any more.
19274 (disassemble-offset): Receive `bytes' as argument rather than via
19276 (byte-compile-tag-number): Declare before first use.
19277 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19278 `return' even if make-spliceable.
19279 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19280 obsolete interactive-p.
19281 (byte-optimize-lapcode): Optimize new lap-codes.
19282 Don't trip up on new form of `byte-constant' lap code.
19284 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19286 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19288 * custom.el (custom-initialize-default, custom-declare-variable):
19291 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19293 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19294 (COMPILE_FIRST): Add macroexp and cconv.
19295 * makefile.w32-in: Mirror changes in Makefile.in.
19297 * vc/cvs-status.el:
19301 * vc/smerge-mode.el:
19302 * textmodes/bibtex-style.el:
19303 * textmodes/css-mode.el:
19311 * emacs-lisp/smie.el:
19314 * abbrev.el: Use lexical binding.
19316 2011-04-01 Eli Zaretskii <eliz@gnu.org>
19318 * info.el (info-display-manual): New function.
19320 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19322 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19324 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19326 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19327 an entry for that server in rcirc-authinfo. (Bug#8385)
19329 2011-03-31 Glenn Morris <rgm@gnu.org>
19331 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19333 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19335 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19337 * progmodes/python.el (python-default-interpreter)
19338 (python-python-command-args, python-jython-command-args)
19339 (python-which-shell, python-which-args, python-which-bufname)
19340 (python-file-queue, python-comint-output-filter-function)
19341 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19342 variables and functions.
19344 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19346 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19347 (completion-in-region-mode): New minor mode.
19348 (completion-in-region): Use it.
19349 (completion-in-region--data, completion-in-region-mode-map): New vars.
19350 (completion-in-region--postch): New function.
19351 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19353 (completion--capf-wrapper): New function.
19354 (completion-at-point): Use it to track well-behavedness of
19356 (completion-help-at-point): New command.
19358 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19360 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19361 syntax class to search for whitespace on a single line
19362 (Message-ID: <4D938140.4030905@redhat.com>).
19364 2011-03-30 Leo Liu <sdl.web@gmail.com>
19366 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19368 (edit-abbrevs-map): Bind them here.
19369 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19371 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19373 * allout.el (allout-hide-by-annotation, allout-flag-region):
19374 Reduce possibility of overlay leakage by making them volatile.
19376 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19377 hash is not shared between buffers. Mode initialization is
19378 responsible for giving it a useful starting value.
19379 (allout-item-span): Reduce possibility of overlay leakage by
19380 making them volatile.
19381 (allout-widgets-count-buttons-in-region): Add diagnostic function
19382 for tracking down button overlay leaks.
19384 2011-03-29 Leo Liu <sdl.web@gmail.com>
19386 * ido.el (ido-read-internal): Use the default history var
19387 minibuffer-history if no HISTORY is specified.
19389 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19391 * net/imap.el (imap-shell-open, imap-process-connection-type):
19392 Use imap-process-connection-type for 'shell' streams as well as
19393 Kerberos, SSL, other subprocesses.
19395 2011-03-28 Leo Liu <sdl.web@gmail.com>
19397 * abbrev.el (abbrev-table-empty-p): New function.
19398 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19399 nonempty ones. (Bug#5937)
19401 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19403 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19405 2011-03-27 Leo Liu <sdl.web@gmail.com>
19407 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19408 for foreground and background colors.
19409 (ansi-color-make-color-map): Adapt.
19411 2011-03-25 Leo Liu <sdl.web@gmail.com>
19413 * midnight.el (midnight-time-float): Remove. Note it calculates
19414 the microsecond component incorrectly and seconds-to-time does the
19416 Remove redundant (require 'timer).
19418 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19419 (ido-completions): Remove unused arguments. (Bug#8329)
19421 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19423 * minibuffer.el (completion--flush-all-sorted-completions):
19424 Remove itself from hook.
19425 (completion-at-point): Let the functions perform the completion
19426 immediately and return nil or t.
19427 * comint.el (comint-dynamic-complete-functions): Now identical to
19428 completion-at-point-functions.
19429 (comint-dynamic-list-input-ring): Remove unused var `index'.
19430 (comint--match-partial-filename, comint--unquote&expand-filename):
19431 New funs, split from comint-match-partial-filename.
19432 (comint-dynamic-complete): Use completion-at-point.
19433 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19435 2011-03-24 Drew Adams <drew.adams@oracle.com>
19437 * thingatpt.el: Support `defun'.
19439 2011-03-23 Leo Liu <sdl.web@gmail.com>
19441 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19443 * help-mode.el (help-mode-finish): Tweak regexp.
19445 2011-03-23 Glenn Morris <rgm@gnu.org>
19447 * eshell/esh-opt.el (eshell-eval-using-options):
19448 Do not bind unused local variable `eshell-option-stub'.
19450 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19452 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19454 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19455 keymap variable in `with-no-warnings' to avoid a warning when the
19456 keymap has been already `defconst'ed.
19458 2011-03-22 Leo Liu <sdl.web@gmail.com>
19460 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19461 encode all chars in abbrevs; otherwise use emacs-mule or
19462 utf-8-emacs. (Bug#8308)
19464 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19466 * simple.el (backward-delete-char-untabify):
19467 Avoid warning about using `delete-backward-char'.
19469 * image.el (image-type-file-name-regexps): Make it variable.
19470 `imagemagick-register-types' modifies it, and the user may want
19471 to add new extensions for known image types.
19472 (imagemagick-register-types): Throw error if not using ImageMagick.
19474 2011-03-22 Leo Liu <sdl.web@gmail.com>
19476 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19477 located before rcirc-prompt-end-marker.
19478 (rcirc-complete): Error if point is not after rcirc prompt.
19479 Handle the case when table is nil.
19480 (rcirc-user-authenticated): Define to fix compiler warning.
19482 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
19484 * custom.el (custom--inhibit-theme-enable): Make it affect only
19485 custom-theme-set-variables and custom-theme-set-faces.
19486 (provide-theme): Ignore custom--inhibit-theme-enable.
19487 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19488 (custom-enabling-themes): Delete variable.
19489 (enable-theme): Accept only loaded themes as arguments.
19490 Ignore the special custom-enabled-themes variable.
19491 (custom-enabled-themes): Forbid themes from setting this.
19492 Eliminate use of custom-enabling-themes.
19493 (custom-push-theme): Quote "changed" custom var entry.
19495 2011-03-21 Leo Liu <sdl.web@gmail.com>
19497 * ido.el (ido-read-internal): Add ido-selected to history instead
19500 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19502 * subr.el (deferred-action-list, deferred-action-function):
19505 2011-03-21 Leo Liu <sdl.web@gmail.com>
19507 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19508 change on 2011-02-13 (bug#8309).
19510 * minibuffer.el (read-file-name-function): Change default value.
19511 (read-file-name--defaults): Rename from read-file-name-defaults.
19512 (read-file-name-default): Rename from read-file-name.
19513 (read-file-name): Call read-file-name-function.
19515 2011-03-21 Glenn Morris <rgm@gnu.org>
19517 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19520 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
19522 * cus-theme.el: Add missing provide statement.
19523 (customize-create-theme): Extract theme value correctly.
19524 (custom-theme-visit-theme): Autoload.
19525 (customize-create-theme): Prompt before inserting default faces.
19527 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19529 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19530 units and musical notes.
19532 2011-03-20 Leo Liu <sdl.web@gmail.com>
19534 * ido.el (ido-read-internal): Use completing-read-default.
19535 (ido-completing-read): Fix compatibility with completing-read.
19537 2011-03-20 Christian Ohler <ohler@gnu.org>
19539 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19540 (ert-delete-all-tests): Use `called-interactively-p' rather than
19542 (ert--make-xrefs-region): Respect END.
19544 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19546 * dired-aux.el (dired-create-directory): Signal an error if the
19547 directory already exists (Bug#8246).
19549 * facemenu.el (list-colors-display): Call list-faces-display
19550 inside with-help-window.
19551 (list-colors-print): Use display property to align the final
19552 column, instead of checking window-width.
19554 2011-03-19 Eli Zaretskii <eliz@gnu.org>
19556 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19557 windows-nt systems.
19558 (emerge-protect-metachars): Quote correctly for ms-dos and
19559 windows-nt systems.
19561 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
19563 * info.el (info-initialize): Replace all uses of `:' with
19564 path-separator for compatibility with non-Unix systems.
19565 Cache quoting of path-separator. (Bug#8258)
19567 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
19569 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19570 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19571 (mouse-avoidance-mode): Fix typos in docstrings.
19573 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19575 * startup.el (package-subdirectory-regexp): Move from package.el.
19576 Omit \\` and \\', and let callers add them.
19578 * emacs-lisp/package.el (package-strip-version)
19579 (package-load-all-descriptors): Add \\` and \\' to
19580 package-subdirectory-regexp before using it.
19581 (package-untar-buffer): New arg DIR; ensure that file untars only
19582 into this expected directory. Remove superfluous delete-region.
19583 (package-unpack): Caller changed.
19584 (package-tar-file-info): Use package-subdirectory-regexp.
19586 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19588 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19589 diff-mode-shared-map (bug#8284).
19590 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19592 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19594 * calendar/time-date.el (format-seconds): Use assoc instead of
19595 assoc-string, since assoc-string doesn't exist in XEmacs.
19597 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
19599 * custom.el (custom-known-themes): Reflow docstring.
19600 (custom-theme-load-path): Fix typo in docstring.
19601 (load-theme): Fix typo in error message.
19602 (custom-available-themes, custom-variable-theme-value):
19603 Use `let', not `let*'.
19605 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19607 * calc/README: Mention inclusion of musical notes.
19609 * calc/calc-units.el (calc-lu-quant): Rename from
19610 `calc-logunits-quantity'.
19611 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19612 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19613 (calc-db): Rename from `calc-dblevel'.
19614 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19615 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19616 (calc-np): Rename from `calc-nplevel'.
19617 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19618 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19619 (calc-lu-plus): Rename from `calc-logunits-add'.
19620 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19621 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19622 (calc-lu-minus): Rename from `calc-logunits-sub'.
19623 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19624 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19625 (calc-lu-times): Rename from `calc-logunits-mul'.
19626 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19627 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19628 (calc-lu-divide): Rename from `calc-logunits-div'.
19629 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19630 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19632 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19633 functions being autoloaded.
19635 * calc/calc.el (calc-lu-power-reference): Rename from
19636 `calc-logunits-power-reference'.
19637 (calc-lu-field-reference): Rename from
19638 `calc-logunits-field-reference'.
19640 * calc/calc-help.el (calc-l-prefix-help):
19641 Mention musical note functions.
19643 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19645 * minibuffer.el (completion-all-sorted-completions):
19646 Use :completion-cycle-penalty text property if present.
19648 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19650 * allout.el (allout-yank-processing): Adjust for new rebulleting
19651 regime so bullet being yanked is used without prompting the user
19654 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19656 * startup.el (command-line): Warn the user that _emacs is deprecated.
19658 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19660 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19661 (delphi-verbose, delphi-comment-face, delphi-string-face)
19662 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19663 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19664 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19665 (delphi-new-comment-line, delphi-font-lock-defaults)
19666 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19667 Fix typos in docstrings.
19669 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19671 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
19672 Invert the roles of character and string values for INSTEAD, so a
19673 string is used for the more common case of a defaulting prompt.
19675 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19677 * progmodes/ruby-mode.el (ruby-backward-sexp):
19678 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19679 * play/gamegrid.el (gamegrid-make-face):
19680 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19681 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19682 * notifications.el (notifications-notify):
19683 * net/xesam.el (xesam-search-engines):
19684 * net/quickurl.el (quickurl-list-insert):
19685 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19687 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
19689 * startup.el (command-line): Update package subdirectory regexp.
19691 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19693 * allout.el (allout-abbreviate-flattened-numbering)
19694 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19696 * subr.el (read-char-choice): Only show the cursor after the prompt,
19697 not after the answer.
19699 2011-03-15 Kevin Ryde <user42@zip.com.au>
19701 * help-fns.el (variable-at-point): Skip leading quotes, if any
19704 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19706 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19709 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
19711 * shell.el (shell): When called interactively, offer to change the
19712 shell file name on remote hosts.
19714 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19716 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19717 integration for LDAP parameters. The host, base, user or binddn,
19718 and secret tokens can be specified in a netrc file, for instance.
19719 This is optional because an `auth-source' parameter must be
19720 specified in the search attributes.
19722 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
19724 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19726 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19728 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19729 into declaration. Remove redundant and harmful binding.
19731 2011-03-12 Eli Zaretskii <eliz@gnu.org>
19733 * files.el (file-ownership-preserved-p): Pass `integer' as an
19734 explicit 2nd argument to `file-attributes'. If the file's owner
19735 is the Administrators group on Windows, and the current user is
19736 Administrator, consider that a match.
19738 * server.el (server-ensure-safe-dir): Consider server directory
19739 safe on MS-Windows if its owner is the Administrators group while
19740 the current Emacs user is Administrator. Use `=' to compare
19741 numerical UIDs, since they could be integers or floats.
19743 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
19745 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19747 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
19749 Sync with Tramp 2.2.1.
19751 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19753 * net/trampver.el: Update release number.
19755 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19757 * progmodes/compile.el (compilation--previous-directory): Fix up
19758 various nil/dead-marker mismatches (bug#8014).
19759 (compilation-directory-properties, compilation-error-properties):
19760 Don't call it at a position past the one we're about to change.
19762 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19763 Disable obsolescence warnings in the file that declares it.
19765 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19767 * allout-widgets.el (allout-widgets-tally):
19768 Initialize allout-widgets-tally as a hash table rather than nil to
19769 prevent mode-line redisplay warnings. Also, clarify the module
19770 description and fix a comment typo.
19772 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
19774 * help-fns.el (describe-variable): Don't complete keywords.
19775 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19777 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
19779 * emacs-lisp/package.el (package-version-join): Impose a standard
19780 string representation for pre/alpha/beta version lists.
19781 (package-unpack-single): Standardize the directory name by passing
19782 it through package-version-join.
19783 (package-strip-rcs-id): Accept any version string that does not
19784 signal an error in version-to-list.
19786 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
19788 * simple.el (delete-trailing-whitespace): Return nil for the
19789 benefit of `write-file-functions'.
19791 2011-03-10 Glenn Morris <rgm@gnu.org>
19793 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19795 * vc/vc-git.el (vc-git-program): New option.
19796 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19797 (vc-git--call): Use it.
19799 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19801 * cus-edit.el (Custom-newline): If no button at point, look
19802 for a subgroup button at start-of-line. (Bug#2298)
19804 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19806 2011-03-10 Julien Danjou <julien@danjou.info>
19808 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19809 `cursor-type' is nil.
19811 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19813 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19815 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19817 * allout.el: Change so yank of distinctive-bullet items
19818 preserves the existing header prefix, rebulleting it if necessary,
19819 rather than replacing it. This is necessary for proper operation
19820 of cooperative addons like allout-widgets.
19821 (allout-make-topic-prefix, allout-rebullet-heading):
19822 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19823 value as alternate bullet to be used, instead of prompting the user
19824 for a bullet character.
19826 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
19828 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19829 Do not use `tramp-file-name-port', because this returns also
19830 `tramp-default-port'.
19832 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19834 * net/rcirc.el (rcirc-handler-001): Remove useless
19835 with-rcirc-process-buffer.
19836 (rcirc-check-auth-status): Swap arguments to string-match.
19838 2011-03-09 Glenn Morris <rgm@gnu.org>
19840 * shell.el (shell-mode):
19841 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19843 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19844 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19846 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19848 * emacs-lisp/package.el (package-refresh-contents)
19849 (package-menu-execute): Use condition-case-no-debug.
19851 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
19853 * simple.el (shell-command-to-string): Use `process-file'.
19855 * emacs-lisp/package.el (package-tar-file-info): Handle also
19858 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19859 Use `equal' for upload base check.
19861 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19863 * textmodes/texinfo.el (texinfo-environments):
19864 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19866 2011-03-08 Glenn Morris <rgm@gnu.org>
19868 * cus-start.el (cursor-in-non-selected-windows):
19869 Fix :set quoting oddness. (Bug#8192)
19871 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19872 in some setf expressions. (Bug#2159)
19874 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19876 * custom.el (custom-available-themes): Return themes in
19877 alphabetical order.
19879 See ChangeLog.15 for earlier changes.
19881 ;; Local Variables:
19885 Copyright (C) 2011-2012 Free Software Foundation, Inc.
19887 This file is part of GNU Emacs.
19889 GNU Emacs is free software: you can redistribute it and/or modify
19890 it under the terms of the GNU General Public License as published by
19891 the Free Software Foundation, either version 3 of the License, or
19892 (at your option) any later version.
19894 GNU Emacs is distributed in the hope that it will be useful,
19895 but WITHOUT ANY WARRANTY; without even the implied warranty of
19896 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19897 GNU General Public License for more details.
19899 You should have received a copy of the GNU General Public License
19900 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.